spinetoolbox.project_items.gimlet.gimlet_icon

Module for Gimlet icon class.

authors:
  1. Savolainen (VTT)
date:

15.4.2020

Module Contents

Classes

GimletIcon Gimlet icon for the Design View.
class spinetoolbox.project_items.gimlet.gimlet_icon.GimletIcon(toolbox, x, y, project_item, icon)[source]

Bases: spinetoolbox.graphics_items.ProjectItemIcon

Gimlet 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