Virtual class for scales plugin of BPS Workplace. More...
#include <bpsscalesplugin.h>
Public Member Functions | |
| virtual bool | check (BpsDatastore *aDatastore) const =0 |
| Check if plugin is available for usage, e.g. More... | |
| virtual BpsConfigWidget * | createConfigWidget (BpsDatastore *aDatastore, QWidget *aParent=nullptr) const =0 |
| Create the config widget and return a pointer to it. More... | |
| virtual BpsScales * | createScales (BpsDatastore *aDatastore, QObject *aParent=nullptr) const =0 |
| Create a scales object and return a pointer to it. More... | |
| virtual QString | scalesId () const =0 |
| virtual QString | scalesName () const =0 |
| virtual | ~BpsScalesPlugin () |
| Virtual destructor. | |
Static Public Member Functions | |
| static BpsScalesPlugin * | plugin (BpsDatastore *aDatastore, const QString &aId) |
| Find the available scales plugin with the given ID. More... | |
| static QList< BpsScalesPlugin * > | plugins (BpsDatastore *aDatastore) |
| Get list of all scales plugins available for usage. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| #define | BpsScalesPlugin_IID "com.ibk-software.BPS2.BpsScalesPlugin/1.0" |
| IID of the plugin. | |
Virtual class for scales plugin of BPS Workplace.
Place the dynamic library in the plugins/bpscales folder.
|
pure virtual |
Check if plugin is available for usage, e.g.
it is licensed.
| aDatastore | The datastore to use. |
|
pure virtual |
Create the config widget and return a pointer to it.
The widget is owned by the caller.
| aDatastore | The datastore to use. |
| aParent | The parent widget. |
|
pure virtual |
Create a scales object and return a pointer to it.
| aDatastore | The datastore to use. |
| aParent | The parent object. |
|
static |
Find the available scales plugin with the given ID.
| aDatastore | The datastore to use. |
| aId | The scales ID, for example "mtsics" or "bit650". |
|
static |
Get list of all scales plugins available for usage.
| aDatastore | The datastore to use. |
|
pure virtual |
|
pure virtual |