itom 1.3.0
|
the workspaceWidget displays either a global or a local workspace given by a python dictionary. This widget is inherited from QTreeWidget. More...
Public Slots | |
void | workspaceContainerUpdated (PyWorkspaceItem *rootItem, QString fullNameRoot, QStringList recentlyDeletedFullNames) |
Public Member Functions | |
WorkspaceWidget (bool globalNotLocal, QWidget *parent=NULL) | |
constructor | |
~WorkspaceWidget () | |
destructor | |
int | numberOfSelectedItems () const |
int | numberOfSelectedMainItems () const |
ito::PyWorkspaceContainer * | getWorkspaceContainer () |
Private Slots | |
void | itemDoubleClicked (QTreeWidgetItem *item, int column) |
slot, invoked if item is double-clicked | |
void | itemExpanded (QTreeWidgetItem *item) |
void | itemCollapsed (QTreeWidgetItem *item) |
Private Member Functions | |
void | updateView (QHash< QString, ito::PyWorkspaceItem * > items, QString baseName, QTreeWidgetItem *parent=NULL) |
void | recursivelyDeleteHash (QTreeWidgetItem *item) |
void | recursivelyDeleteHash (const QString &fullBaseName) |
Private Attributes | |
bool | m_globalNotLocal |
QHash< QString, QTreeWidgetItem * > | m_itemHash |
ito::PyWorkspaceContainer * | m_workspaceContainer |
QString | m_delimiter |
the workspaceWidget displays either a global or a local workspace given by a python dictionary. This widget is inherited from QTreeWidget.
ito::WorkspaceWidget::WorkspaceWidget | ( | bool | globalNotLocal, |
QWidget * | parent = NULL |
||
) |
constructor
globalNotLocal | true: this widget shows a global python dictionary, false: local |
parent | parent-widget |
void ito::WorkspaceWidget::itemDoubleClicked | ( | QTreeWidgetItem * | item, |
int | column | ||
) | [private, slot] |
slot, invoked if item is double-clicked
slot invoked if item has been double-clicked
opens instance of DialogVariableDetail to show detailed information about the double-clicked variable
item | QTreeWidgetItem which has been clicked |
bool ito::WorkspaceWidget::m_globalNotLocal [private] |
flag indicated whether this workspaceWidget shows a global (true) or a local (false) dictionary