spinetoolbox.project_items.tool.tool_icon
¶
Module for tool icon class.
authors: |
|
---|---|
date: | 4.4.2018 |
Module Contents¶
-
class
spinetoolbox.project_items.tool.tool_icon.
ToolIcon
(toolbox, x, y, w, h, name)[source]¶ Bases:
spinetoolbox.graphics_items.ProjectItemIcon
Tool icon for the Design View.
Parameters: - toolbox (ToolBoxUI) – QMainWindow instance
- x (float) – Icon x coordinate
- y (float) – Icon y coordinate
- w (float) – Width of master icon
- h (float) – Height of master icon
- name (str) – Item name