spinetoolbox.widgets.add_project_item_widget
Widget shown to user when a new Project Item is created.
Module Contents
Classes
A widget to query user's preferences for a new item. |
- class spinetoolbox.widgets.add_project_item_widget.AddProjectItemWidget(toolbox, x, y, class_, spec='')[source]
Bases:
PySide6.QtWidgets.QWidget
A widget to query user’s preferences for a new item.
- x
X coordinate of new item
- Type
int
- y
Y coordinate of new item
- Type
int
Initialize class.
- abstract call_add_item()[source]
Creates new Item according to user’s selections.
Must be reimplemented by subclasses.