25 #ifndef PROPERTYEXPLORER_H
26 #define PROPERTYEXPLORER_H
36 #include <QtTreePropertyBrowser>
37 #include <QtButtonPropertyBrowser>
38 #include <QtGroupBoxPropertyBrowser>
115 void selectWidget(QWidget* widget);
120 void selectIndex(
unsigned int index);
154 bool eventFilter(QObject*
object, QEvent* event)
override;
159 void createProperties();
175 void updateTabIndexToDisplay(
int index);
#define PROPERTYEXPLORER_API
Definition: PropertyExplorerAPI.h:54
Definition: objectcontroller.h:47
The property explorer.
Definition: PropertyExplorer.h:81
camitk::PropertyObject * propertyObject
The property object that holds the properties of this viewer.
Definition: PropertyExplorer.h:143
camitk::Property * viewModeProperty
The CamiTK property that stands for the ObjectController view mode.
Definition: PropertyExplorer.h:148
camitk::Component * currentComponent
the viewed Component
Definition: PropertyExplorer.h:134
QPushButton * applyButton
Definition: PropertyExplorer.h:131
Q_ENUMS(camitk::ObjectController::ViewMode)
QTabWidget * tabWidget
Definition: PropertyExplorer.h:129
camitk::ObjectController * theController
the widgets
Definition: PropertyExplorer.h:128
QPushButton * revertButton
Definition: PropertyExplorer.h:130
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
The object controller class.
Definition: ObjectController.h:162
ViewMode
The property browser can be shown in different view mode.
Definition: ObjectController.h:171
This class describes a property object.
Definition: PropertyObject.h:71
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:280
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:180
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 QObject * getPropertyObject()
get the viewer property object (returns nullptr by default, i.e. there are no property to edit)
Definition: Viewer.h:240
Definition: Action.cpp:35