spinetoolbox.project_items.tool.widgets.add_tool_widget¶
Widget shown to user when a new Tool is created.
| author: |
|
|---|---|
| date: | 19.1.2017 |
Module Contents¶
Classes¶
AddToolWidget |
A widget that queries user’s preferences for a new item. |
-
class
spinetoolbox.project_items.tool.widgets.add_tool_widget.AddToolWidget(toolbox, x, y, spec='')[source]¶ Bases:
spinetoolbox.widgets.add_project_item_widget.AddProjectItemWidgetA widget that queries user’s preferences for a new item.
-
x¶ X coordinate of new item
Type: int
-
y¶ Y coordinate of new item
Type: int
-
spec¶ Tool specification
Type: str
Initialize class.
-