|
Q_INVOKABLE | ActionStateViewer (QString name) |
|
virtual QWidget * | getWidget () |
| get the viewer widget. More...
|
|
virtual void | refresh (Viewer *whoIsAsking=nullptr) |
| refresh the view (can be interesting to know which other viewer is calling this) More...
|
|
void | setState (ActionState *actionState) |
| set the current state More...
|
|
QStringList | getComponents () |
| get the list of Component class manages by this viewer (default is set to "Component", i.e. More...
|
|
QString | getDescription () const |
| get the name of the viewer More...
|
|
QDockWidget * | getDockWidget () |
| Get the QDockWidget* where this viewer is currently docked (or nullptr if it is not docked anywhere or if the viewer is of type EMBEDDED) More...
|
|
QLayout * | getEmbedder () |
| Get the QLayout* where this viewer is currently embedded (or nullptr if it is not embedded anywhere or if the viewer is of type DOCKED) More...
|
|
virtual QPixmap | getIcon () |
| get the viewer icon More...
|
|
virtual QMenu * | getMenu () |
| get the viewer menu (returns nullptr by default, i.e. there are no default edit menu) More...
|
|
QString | getName () const |
| get the name of the viewer More...
|
|
virtual QObject * | getPropertyObject () |
| get the viewer property object (returns nullptr by default, i.e. there are no property to edit) More...
|
|
virtual QToolBar * | getToolBar () |
| get the viewer toolbar (returns nullptr by default, i.e. there are no default toolbar) More...
|
|
bool | getToolBarVisibility () |
| get the current value of the toolbar visibility More...
|
|
ViewerType | getType () |
| get the viewer layout More...
|
|
| Q_ENUM (ViewerType) Viewer(QString name |
| default constructor More...
|
|
virtual void | refresh (Viewer *whoIsAsking=nullptr)=0 |
| refresh the view (can be interesting to know which other viewer is calling this) More...
|
|
bool | setDockWidget (QDockWidget *) |
| If the viewer type is DOCKED, dock the widget inside the given dock widget (do nothing if the type is EMBEDDED or if the viewer has already been docked before) Note that once set, the dock widget cannot be modified. More...
|
|
bool | setEmbedder (QLayout *) |
| If the viewer type is EMBEDDED, embed the viewer widget in the given layout (do nothing if the type is DOCKED) Note that you can call this method any time you want to move the viewer's widget to another layout (but there is only one embedder at a time) More...
|
|
void | setToolBarVisibility (bool) |
| set the visibility of the toolbar in the main window (true by default). More...
|
|
void | setType (ViewerType) |
| set the viewer layout (the type can be changed dynamically to fit the developer's purpose) More...
|
|
void | setVisible (bool) |
| set the visibility of the viewer (show or hide its widget) More...
|
|
virtual | ~Viewer () override |
| default destructor More...
|
|
The current action state viewer.