Developer Documentation
|
The ToolbarInterface can be used by plugins to add toolbars to OpenFlippers UI. The toolbars are located above the GL viewer (See image).
To use the ToolbarInterface:
Usually you should implement the BaseInterface::pluginsInitialized() function from BaseInterface. In this function you can setup your toolbars.
The following code shows a simple example to create a simple toolbar.
Signals and slots of your toolbar (e.g. from an action inside it) can be directly connected to signals and slots in your plugin. Therefore the embedding of the toolbar is fully transparent.