Developer Documentation
|
Interface class for adding view modes to the ui. More...
#include <OpenFlipper/BasePlugin/ViewModeInterface.hh>
Signals | |
virtual void | defineViewModeToolboxes (QString _mode, QStringList _usedWidgets) |
Defines a ViewMode for the Toolboxes. More... | |
Public Member Functions | |
virtual | ~ViewModeInterface () |
Destructor. | |
virtual void | defineViewModeToolbars (QString _mode, QStringList _usedToolbars) |
Defines a ViewMode for the Toolbars. More... | |
virtual void | defineViewModeContextMenus (QString _mode, QStringList _usedContextMenus) |
Defines a ViewMode for the context menus. More... | |
virtual void | defineViewModeIcon (QString _mode, QString _iconName) |
Defines an Icon for a ViewMode. More... | |
virtual void | setViewMode (QString _mode, bool _expandAll=false) |
Set a ViewMode. More... | |
Interface class for adding view modes to the ui.
Definition at line 60 of file ViewModeInterface.hh.
|
inlinevirtual |
Defines a ViewMode for the context menus.
With this function you can define a set of context menus which should be visible for the specified view mode.
_mode | Name of the ViewMode |
_usedContextMenus | List of used context menus |
Definition at line 99 of file ViewModeInterface.hh.
|
inlinevirtual |
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 | Filename of the Icon used for this view mode |
Definition at line 111 of file ViewModeInterface.hh.
|
inlinevirtual |
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 |
_usedToolbars | List of used toolbars |
Definition at line 89 of file ViewModeInterface.hh.
|
inlinevirtualsignal |
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 79 of file ViewModeInterface.hh.
|
inlinevirtual |
Set a ViewMode.
With this function you can switch to a viewMode This will show all corresponding toolboxes/toolbars
_mode | Name of the ViewMode |
_expandAll | Expand all toolboxes |
Definition at line 121 of file ViewModeInterface.hh.