Define View Modes using this interface. More...
#include <ViewModeInterface.hh>
Signals | |
| virtual void | defineViewModeToolboxes (QString, QStringList) |
| Defines a ViewMode for the Toolboxes. | |
| virtual void | defineViewModeToolbars (QString, QStringList) |
| Defines a ViewMode for the Toolbars. | |
| virtual void | defineViewModeIcon (QString, QString) |
| Defines an Icon for a ViewMode. | |
Public Member Functions | |
| virtual | ~ViewModeInterface () |
| Destructor. | |
Define View Modes using this interface.
This Interface can be used to configure visible widgets in the viewer. A given view mode contains a list of toolbars, toolboxes and context menus which should be visible if the mode is active. Therefore you can define a subset of the full interface for special tasks.
Definition at line 71 of file ViewModeInterface.hh.
| virtual void ViewModeInterface::defineViewModeIcon | ( | QString | , | |
| QString | ||||
| ) | [inline, virtual, signal] |
Defines an Icon for a ViewMode.
With this function you can define an Icon associated with this view mode The Icon will be taken from the standard Icon path or in the OpenFlipper home directory.
The Icon should have a size of 150x150 pixels.
| _mode | name of the ViewMode | |
| _iconName | Name of the Icon used for this view mode |
Definition at line 112 of file ViewModeInterface.hh.
| virtual void ViewModeInterface::defineViewModeToolbars | ( | QString | , | |
| QStringList | ||||
| ) | [inline, virtual, signal] |
Defines a ViewMode for the Toolbars.
With this function you can define a set of toolbars which should be visible for the specified view mode.
| _mode | name of the ViewMode | |
| _usedWidgets | list of used toolbars |
Definition at line 100 of file ViewModeInterface.hh.
| virtual void ViewModeInterface::defineViewModeToolboxes | ( | QString | , | |
| QStringList | ||||
| ) | [inline, virtual, signal] |
Defines a ViewMode for the Toolboxes.
With this function you can define a set of toolboxes which should be visible for the specified view mode.
| _mode | name of the ViewMode | |
| _usedWidgets | list of used Widgets names |
Definition at line 90 of file ViewModeInterface.hh.