Virtual class for labeler plugin of BPS Workplace.
More...
#include <bpslabelerplugin.h>
List of all members.
Detailed Description
Virtual class for labeler plugin of BPS Workplace.
Place the dynamic library in the plugins/bpslblr folder.
Member Function Documentation
| virtual bool BpsLabelerPlugin::check |
( |
BpsDatastore * |
aDatastore | ) |
const [pure virtual] |
Check if plugin is available for usage, e.g.
its ID is present in t_labelers and it is licensed.
- Parameters:
-
| aDatastore | The datastore to use. |
- Returns:
- True when labeler plugin is available, false when not.
| virtual BpsConfigWidget* BpsLabelerPlugin::createConfigWidget |
( |
BpsDatastore * |
aDatastore, |
|
|
QWidget * |
aParent = 0 |
|
) |
| const [pure virtual] |
Create the config widget and return a pointer to it.
The widget is owned by the caller.
- Parameters:
-
| aDatastore | The datastore to use. |
| aParent | The parent widget. |
- Returns:
- Pointer to the new widget, or 0 if labeler plugin is not available for use (see check).
Create the edit widget and return a pointer to it.
The widget is owned by the caller.
- Parameters:
-
| aDatastore | The datastore to use. |
| aParent | The parent for the new widget. |
- Returns:
- Pointer to the new widget, or 0 if labeler plugin is not available for use (see check).
| virtual BpsLabeler* BpsLabelerPlugin::createLabeler |
( |
BpsDatastore * |
aDatastore, |
|
|
QObject * |
aParent = 0 |
|
) |
| const [pure virtual] |
Create a labeler object and return a pointer to it.
- Parameters:
-
| aDatastore | The datastore to use. |
| aParent | The parent object. |
- Returns:
- Pointer to the new object, or 0 if labeler plugin is not available for use, the settings parameters are invalid, or the labeler can not be opened.
| virtual QString BpsLabelerPlugin::labelerId |
( |
| ) |
const [pure virtual] |
- Returns:
- The labeler ID, for example "generic" or "lm2000".
| virtual QString BpsLabelerPlugin::labelerName |
( |
| ) |
const [pure virtual] |
- Returns:
- The labelers name in current language, for example "Generic Text" or "Leich and Mehl PAW 2000"
Find the available labeler plugin with the given ID.
- Parameters:
-
| aDatastore | The datastore to use. |
| aId | The labeler ID, for example "generic" or "lm2000". |
- Returns:
- The plugin, or 0 if no labeler plugin with this id was found or it is not available for use.
Get map of all labeler plugins and matching keys in table t_labelers available for usage.
- Parameters:
-
| aDatastore | The datastore to use. |
- Returns:
- List of available labeler plugins, where key is the labeler plugin and value is t_labelers.c_key.
The documentation for this class was generated from the following file: