spinetoolbox.project_items.tool¶
Tool plugin.
| author: |
|
|---|---|
| date: | 12.9.2019 |
Subpackages¶
Submodules¶
spinetoolbox.project_items.tool.commandsspinetoolbox.project_items.tool.executable_itemspinetoolbox.project_items.tool.item_infospinetoolbox.project_items.tool.specification_factoryspinetoolbox.project_items.tool.toolspinetoolbox.project_items.tool.tool_factoryspinetoolbox.project_items.tool.tool_iconspinetoolbox.project_items.tool.tool_instancespinetoolbox.project_items.tool.tool_specificationsspinetoolbox.project_items.tool.utils
Package Contents¶
Classes¶
ItemFactory |
Class for project item factories. |
ItemInfo |
-
class
spinetoolbox.project_items.tool.ItemFactory(toolbox)¶ Bases:
spinetoolbox.project_item.ProjectItemFactoryClass for project item factories.
Parameters: toolbox (ToolboxUI) – -
item_maker¶ Returns a ProjectItem subclass.
Returns: class
-
icon_maker¶ Returns a ProjectItemIcon subclass.
Returns: class
-
add_form_maker¶ Returns an AddProjectItem subclass.
Returns: class
-
specification_form_maker¶ Returns a QWidget subclass to create and edit specifications.
Returns: class
Returns an ItemSpecificationMenu subclass.
Returns: class
-
static
icon()¶ Returns the icon resource path.
Returns: str
-
static
supports_specifications()¶ Returns whether or not this factory supports specs.
If the subclass implementation returns True, then it must also implement
specification_form_maker, andspecification_menu_maker.Returns: bool
-
static
_make_properties_widget(toolbox)¶ Creates the item’s properties tab widget.
Returns: QWidget
-
-
class
spinetoolbox.project_items.tool.ItemInfo[source]¶ Bases:
spinetoolbox.project_item_info.ProjectItemInfo-
static
item_category()¶ See base class.
-
static
item_type()¶ See base class.
-
static