spinetoolbox.project_items.tool.tool_icon

Module for tool icon class.

authors:
  1. Marin (KTH), P. Savolainen (VTT)
date:

4.4.2018

Module Contents

Classes

ToolIcon Tool icon for the Design View.
class spinetoolbox.project_items.tool.tool_icon.ToolIcon(toolbox, x, y, project_item, icon)[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
  • project_item (ProjectItem) – Item
  • icon (str) – icon resource path
_handle_time_line_value_changed(self, value)[source]
_handle_time_line_state_changed(self, new_state)[source]
start_animation(self)[source]

Starts the item execution animation.

stop_animation(self)[source]

Stop animation