Developer Documentation
ToolbarInterface Class Reference

Add a toolbox to OpenFlipper. More...

#include <OpenFlipper/BasePlugin/ToolbarInterface.hh>

Inheritance diagram for ToolbarInterface:
BackupPlugin ColorPlugin ComponentsPlugin DeserializeScreenshotMetadataPlugin MovePlugin PolyLinePlugin RulerPlugin SelectionBasePlugin SkeletonEditingPlugin TopologyPlugin TypeLightPlugin ViewControlPlugin

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

Detailed Description

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.

Member Function Documentation

virtual void ToolbarInterface::addToolbar ( QToolBar *  _toolbar)
inlinevirtualsignal

Adds a Toolbar to the main widget.

To create your own Toolbar, emit this signal with a pointer to your Toolbar.

Parameters
_toolbarYour Toolbar

Definition at line 95 of file ToolbarInterface.hh.

virtual void ToolbarInterface::getToolBar ( QString  _name,
QToolBar *&  _toolbar 
)
inlinevirtual

Get a pointer to a Toolbar of the given name or 0 if it does not exist.

Parameters
_nameName of the Toolbar
_toolbarrequested Toolbar or 0

Definition at line 110 of file ToolbarInterface.hh.

virtual void ToolbarInterface::removeToolbar ( QToolBar *  _toolbar)
inlinevirtual

Remove a Toolbar from the main widget.

Parameters
_toolbarToolbar to be removed

Definition at line 102 of file ToolbarInterface.hh.


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