27#ifndef COMPONENTEXPLORER_H
28#define COMPONENTEXPLORER_H
37#include <QTreeWidgetItem>
99 void explorerSelectionChanged();
102 void doubleClicked(QTreeWidgetItem*,
int);
105 void rightButtonPressed(
const QPoint&);
112 QMap<QTreeWidgetItem*, camitk::Component*> itemComponentMap;
115 QMap<camitk::Component*, QTreeWidgetItem*> topLevelCompItemMap;
136 void remove(QTreeWidgetItem*);
153 QTreeWidget* explorerTree;
#define COMPONENT_EXPLORER_API
Definition ComponentExplorerAPI.h:53
void renameItem()
slot called by the explorer menu when the user wants to rename the currently selected Component
Definition ComponentExplorer.cpp:393
Q_INVOKABLE ComponentExplorer(QString)
Construtor.
Definition ComponentExplorer.cpp:45
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition sdk/libraries/core/component/Component.h:304
This class describe what are the methods to implement for a hierarchical tree node.
Definition InterfaceNode.h:58
Viewer is an abstract class that is the base class for all viewers.
Definition Viewer.h:182
virtual QWidget * getWidget()=0
get the viewer widget.
virtual void refresh(Viewer *whoIsAsking=nullptr)=0
refresh the view (can be interesting to know which other viewer is calling this)
virtual QMenu * getMenu()
get the viewer menu (returns nullptr by default, i.e. there are no default edit menu)
Definition Viewer.h:266