#include <ActionStateViewer.h>
Public Member Functions |
virtual QWidget * | getWidget (QWidget *parent=NULL) |
| get the viewer widget.
|
virtual unsigned int | numberOfViewedComponent () |
| returns the number of Component that are displayed by this viewer
|
virtual void | refresh (Viewer *whoIsAsking=NULL) |
| refresh the view (can be interesting to know which other viewer is calling this)
|
void | setState (ActionState *actionState) |
virtual QMenu * | getMenu () |
| get the viewer menu (returns NULL by default, i.e. there are no default edit menu)
|
virtual QObject * | getPropertyObject () |
| get the viewer property object (returns NULL by default, i.e. there are no property to edit)
|
virtual QToolBar * | getToolBar () |
| get the viewer toolbar (returns NULL by default, i.e. there are no default toolbar)
|
virtual void | refreshInterfaceNode (Component *comp) |
| Update the whole tree of the representation of the Component.
|
| Viewer (QString name) |
| default constructor
|
virtual | ~Viewer () |
| default destructor
|
Constructor & Destructor Documentation
ActionStateViewer::ActionStateViewer |
( |
| ) |
|
|
private |
Member Function Documentation
QWidget * ActionStateViewer::getWidget |
( |
QWidget * |
parent = NULL | ) |
|
|
virtual |
virtual unsigned int ActionStateViewer::numberOfViewedComponent |
( |
| ) |
|
|
inlinevirtual |
returns the number of Component that are displayed by this viewer
Implements camitk::Viewer.
virtual void ActionStateViewer::refresh |
( |
Viewer * |
whoIsAsking = NULL | ) |
|
|
inlinevirtual |
refresh the view (can be interesting to know which other viewer is calling this)
Implements camitk::Viewer.
void ActionStateViewer::setState |
( |
ActionState * |
actionState | ) |
|
Member Data Documentation
QStackedWidget* ActionStateViewer::actionStateWidgetStack |
|
private |
int ActionStateViewer::emptyActionWidgetIndex |
|
private |
index of the empty widget,
used when no action is active or when no action has been used for the currently selected components
Referenced by getWidget().
QWidget* ActionStateViewer::myWidget |
|
private |
QString ActionStateViewer::name |
|
private |
The documentation for this class was generated from the following files: