spinetoolbox.widgets.add_project_item_widget
¶
Widget shown to user when a new Project Item is created.
author: |
|
---|---|
date: | 19.1.2017 |
Module Contents¶
-
class
spinetoolbox.widgets.add_project_item_widget.
AddProjectItemWidget
(toolbox, x, y, initial_name='')[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.
-
call_add_item
(self)[source]¶ Creates new Item according to user’s selections.
Must be reimplemented by subclasses.
-