spinetoolbox.widgets.add_project_item_widget
¶
Widget shown to user when a new Project Item is created.
- author
Savolainen (VTT)
- date
19.1.2017
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:
PySide2.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(self)[source]¶
Creates new Item according to user’s selections.
Must be reimplemented by subclasses.