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¶
-
class
spinetoolbox.project_items.tool.widgets.add_tool_widget.AddToolWidget(toolbox, x, y)[source]¶ Bases:
PySide2.QtWidgets.QWidgetA 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
Initialize class.
-
update_args(self, row)[source]¶ Show Tool specification command line arguments in text input.
Parameters: row (int) – Selected row number
-