34 #include <QTreeWidget>
35 #include <QTreeWidgetItem>
78 virtual unsigned int numberOfViewedComponent();
83 virtual void refresh(
Viewer *whoIsAsking=NULL);
86 virtual QWidget * getWidget(QWidget * parent);
89 virtual QMenu * getMenu();
92 virtual QWidget* getPreferenceWidget(QWidget * parent);
101 virtual void refreshInterfaceNode(
Component * comp);
112 void selectionChanged();
115 void doubleClicked(QTreeWidgetItem *,
int);
118 void rightButtonPressed(
const QPoint &);
137 QTreeWidgetItem* getNewItem(QTreeWidgetItem* parent,
Component *);
140 QTreeWidgetItem* add(QTreeWidgetItem*,
Component *);
148 void remove(QTreeWidgetItem*);
Viewer is an abstract viewer.
Definition: Viewer.h:55
QMap< Component *, QTreeWidgetItem * > itemCompMap
the map to get the QTreeWidgetItem corresponding to a parentComp
Definition: Explorer.h:128
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:292
Explorer window, display the list of all data currently opened in the application.
Definition: Explorer.h:59
#define CAMITK_API
Definition: CamiTKAPI.h:49
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
QMap< QTreeWidgetItem *, Component * > itemComponentMap
Definition: Explorer.h:125
QMenu * explorerMenu
Definition: Explorer.h:163
QAction * editRename
the possible action
Definition: Explorer.h:166
QTreeWidget * explorerTree
the list view
Definition: Explorer.h:157