#include <TreeGuiManager.hxx>
The construction of the gui manager setups a graphic framework that consists in a set of dock widgets implanted in the SALOME GUI and embedding a tree view rendering a data model (collection of data objects) in a hierarchic graphical organisation.
The data model is a straith list of data objects while the view is a tree representation of this collection where folders corresponds to specific properties of the objects.
This represention is for the needs of navigation in a huge amount of data and to ease the selection and processing of items.
References _dataTreeModel, _dataTreeView, _dockWidgets, _salomeApp, TreeObserver::observe(), and DockWidgets::setDataView().
TreeModel * TreeGuiManager::getDataTreeModel |
( |
| ) |
|
TreeView * TreeGuiManager::getDataTreeView |
( |
| ) |
|
This returns the data tree view defined in this TreeGuiManager. The data tree view can be request to customize the popup menu associated to the tree representation.
References _dataTreeView.
This returns the dock widgets manager
References _dockWidgets.
void TreeGuiManager::processItemList |
( |
QStringList |
itemNameIdList, |
|
|
int |
actionId |
|
) |
| |
|
virtualslot |
This function processes the edit signals received from the TreeView. This is a default implementation that only prints the reception of the signal and some information about the dataObject associated to the item whose id is specified. In practice, the data model could be requested here to retrieve the data object to be edited from the nameId. TO BE IMPLEMENTED IN A DOMAIN SPECIFIC VERSION OF THIS CLASS
References _dataModel, DataModel::getDataObject(), LOG, QS2S, and DataObject::toString().
void TreeGuiManager::setDataModel |
( |
DataModel * |
dataModel | ) |
|
void TreeGuiManager::showDockWidgets |
( |
bool |
isVisible | ) |
|
void TreeGuiManager::tabifyDockWidgets |
( |
bool |
tabify | ) |
|
The documentation for this class was generated from the following files: