Virtual class for application plugin of BPS Workplace. More...
#include <bpsaccessplugin.h>
Public Member Functions | |
virtual BpsAccessWidget * | createWidget (QWidget *aParent=nullptr)=0 |
Create the widget application main window and return a pointer to it. More... | |
virtual bool | init (BpsDatastore *aDatastore)=0 |
Initialize the plugin. More... | |
virtual | ~BpsAccessPlugin () |
Virtual destructor. | |
Related Functions | |
(Note that these are not member functions.) | |
#define | BpsAccessPlugin_IID "com.ibk-software.BPS2.BpsAccessPlugin/1.0" |
IID of the plugin. | |
Virtual class for application plugin of BPS Workplace.
Place the dynamic library in the plugins/bpsacc folder.
|
pure virtual |
Create the widget application main window and return a pointer to it.
The widget will be deleted by the application when no longer used.
aParent | The parent widget. |
|
pure virtual |
Initialize the plugin.
This method will be called at first after loading the plugin to check if the plugin shall be included in groups application. It is not recommended to do comprehensive initializations here, because the user might never use the plugin during the session. Instead you should defer such activities until createWidget() is called, or if applicable even later in the methods of the widget.
aDatastore | The datastore object used by the application. |