Virtual class for labeler plugin of BPS Workplace. More...
#include <bpslabelerplugin.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 BpsLabelerEditWidget * | createEditWidget (BpsDatastore *aDatastore, QWidget *aParent=nullptr) const =0 | 
| Create the edit widget and return a pointer to it.  More... | |
| virtual BpsLabeler * | createLabeler (BpsDatastore *aDatastore, QObject *aParent=nullptr) const =0 | 
| Create a labeler object and return a pointer to it.  More... | |
| virtual QString | labelerId () const =0 | 
| virtual QString | labelerName () const =0 | 
| virtual | ~BpsLabelerPlugin () | 
| Virtual destructor.  | |
Static Public Member Functions | |
| static BpsLabelerPlugin * | plugin (BpsDatastore *aDatastore, const QString &aId) | 
| Find the available labeler plugin with the given ID.  More... | |
| static QMap< BpsLabelerPlugin *, QVariant > | plugins (BpsDatastore *aDatastore) | 
| Get map of all labeler plugins and matching keys in table t_labelers available for usage.  More... | |
Related Functions | |
(Note that these are not member functions.)  | |
| #define | BpsLabelerPlugin_IID "com.ibk-software.BPS2.BpsLabelerPlugin/1.0" | 
| IID of the plugin.  | |
Virtual class for labeler plugin of BPS Workplace.
Place the dynamic library in the plugins/bpslblr folder.
      
  | 
  pure virtual | 
Check if plugin is available for usage, e.g.
its ID is present in t_labelers and 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 the edit widget and return a pointer to it.
The widget is owned by the caller.
| aDatastore | The datastore to use. | 
| aParent | The parent for the new widget. | 
      
  | 
  pure virtual | 
Create a labeler object and return a pointer to it.
| aDatastore | The datastore to use. | 
| aParent | The parent object. | 
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
      
  | 
  static | 
Find the available labeler plugin with the given ID.
| aDatastore | The datastore to use. | 
| aId | The labeler ID, for example "generic" or "lm2000". | 
      
  | 
  static | 
Get map of all labeler plugins and matching keys in table t_labelers available for usage.
| aDatastore | The datastore to use. |