spinetoolbox.project_items.combiner.combiner_icon

Module for view icon class.

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

4.4.2018

Module Contents

Classes

CombinerIcon View icon for the Design View.
class spinetoolbox.project_items.combiner.combiner_icon.CombinerIcon(toolbox, x, y, project_item, icon)[source]

Bases: spinetoolbox.graphics_items.ProjectItemIcon

View 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
_SHAKE_FACTOR = 0.05[source]
_handle_time_line_value_changed(self, value)[source]
_handle_time_line_state_changed(self, new_state)[source]
start_animation(self)[source]

Start the animation that plays when the Combiner associated to this GraphicsItem is running.

stop_animation(self)[source]

Stop animation