Developer Documentation
|
Add a toolbox to OpenFlipper. More...
#include <OpenFlipper/BasePlugin/ToolbarInterface.hh>
Signals | |
virtual void | addToolbar (QToolBar *_toolbar) |
Adds a Toolbar to the main widget. More... | |
Public Member Functions | |
virtual | ~ToolbarInterface () |
Destructor. | |
virtual void | removeToolbar (QToolBar *_toolbar) |
Remove a Toolbar from the main widget. More... | |
virtual void | getToolBar (QString _name, QToolBar *&_toolbar) |
Get a pointer to a Toolbar of the given name or 0 if it does not exist. More... | |
Add a toolbox to OpenFlipper.
Detailed description
This Interface should be used by plugins which will provide a toolbar. Each Plugin can create own toolbars.
Definition at line 79 of file ToolbarInterface.hh.
|
inlinevirtualsignal |
Adds a Toolbar to the main widget.
To create your own Toolbar, emit this signal with a pointer to your Toolbar.
_toolbar | Your Toolbar |
Definition at line 95 of file ToolbarInterface.hh.
|
inlinevirtual |
Get a pointer to a Toolbar of the given name or 0 if it does not exist.
_name | Name of the Toolbar |
_toolbar | requested Toolbar or 0 |
Definition at line 110 of file ToolbarInterface.hh.
|
inlinevirtual |
Remove a Toolbar from the main widget.
_toolbar | Toolbar to be removed |
Definition at line 102 of file ToolbarInterface.hh.