Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ViewModeInterface Class Reference

Interface class for adding view modes to the ui. More...

#include <OpenFlipper/BasePlugin/ViewModeInterface.hh>

Inheritance diagram for ViewModeInterface:
SplatCloudRenderingControlPlugin

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...
 

Detailed Description

Interface class for adding view modes to the ui.


Detailed description

Definition at line 70 of file ViewModeInterface.hh.

Member Function Documentation

virtual void ViewModeInterface::defineViewModeContextMenus ( QString  _mode,
QStringList  _usedContextMenus 
)
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.

Parameters
_modeName of the ViewMode
_usedContextMenusList of used context menus

Definition at line 109 of file ViewModeInterface.hh.

virtual void ViewModeInterface::defineViewModeIcon ( QString  _mode,
QString  _iconName 
)
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.

Parameters
_modeName of the ViewMode
_iconNameFilename of the Icon used for this view mode

Definition at line 121 of file ViewModeInterface.hh.

virtual void ViewModeInterface::defineViewModeToolbars ( QString  _mode,
QStringList  _usedToolbars 
)
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.

Parameters
_modeName of the ViewMode
_usedToolbarsList of used toolbars

Definition at line 99 of file ViewModeInterface.hh.

virtual void ViewModeInterface::defineViewModeToolboxes ( QString  _mode,
QStringList  _usedWidgets 
)
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.

Parameters
_modeName of the ViewMode
_usedWidgetsList of used Widgets names

Definition at line 89 of file ViewModeInterface.hh.

virtual void ViewModeInterface::setViewMode ( QString  _mode,
bool  _expandAll = false 
)
inlinevirtual

Set a ViewMode.

With this function you can switch to a viewMode This will show all corresponding toolboxes/toolbars

Parameters
_modeName of the ViewMode
_expandAllExpand all toolboxes

Definition at line 131 of file ViewModeInterface.hh.


The documentation for this class was generated from the following file: