spinetoolbox.project_items.view.view_icon

Module for view icon class.

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

4.4.2018

Module Contents

class spinetoolbox.project_items.view.view_icon.ViewIcon(toolbox, x, y, w, h, name)[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
  • w (float) – Width of background rectangle
  • h (float) – Height of background rectangle
  • name (str) – Item name