This class is a subclass of a QGraphicsView that holds a single
structure_item, to display a single 2D structure. This handles all
interactions with the widget displayed in the panel.
|
|
|
mousePressEvent(self,
event)
Override default Qt function to show context menu |
|
|
|
addToWorkspace(self)
This includes the entry for this participant, leaving other current
entries in the workspace as well (used with tiling). |
|
|
|
setAsWorkspace(self)
This replaces the current workspace with only the entry for this
participant. |
|
|
|
_setStructure(self,
structure)
Set a Structure object for the structure_item and generate its
picture. |
|
|
|
_importStructureFromFile(self)
Load first structure from structure file |
|
|
|
_importStructureFromPT(self)
Load currently current single selected PT entry |
|
|
|
|
Inherited from ui.qt.structure2d.structure_view :
resizeEvent ,
wheelEvent
|