4 #ifndef BPSLABELERGUI_H
5 #define BPSLABELERGUI_H
10 #include <QVariantMap>
124 bool control(
int aOp,
const QVariantMap& aInput, QVariantMap& aOutput,
QWidget* aParent);
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
Public include file for BpsLabeler class.
GUI labeler interface.
Definition: bpslabelergui.h:20
BpsLabelerGui(BpsLabeler *aLabeler, QObject *aParent=nullptr)
bool stop(QWidget *aParent)
Stop labeling, if supported by the device.
bool save(const QVariant &aArticle, const QVariantMap &aParams, QWidget *aParent)
Save an article to the labelers internal database for emergency or offline operation.
BpsLabeler * labeler() const
bool close(QWidget *aParent)
Close the device and release it for manual operation.
bool print(QWidget *aParent)
Print a single label with the article previously loaded into the working memory.
bool start(QWidget *aParent)
Start labeling, if supported by the device.
bool clear(BpsLabeler::Entity aEntity, const QVariant &aKey, QWidget *aParent)
Delete articles from the labelers internal database.
bool control(int aOp, const QVariantMap &aInput, QVariantMap &aOutput, QWidget *aParent)
Execute labeler specific operations.
bool saveLoad(const QVariant &aArticle, const QVariantMap &aParams, QWidget *aParent)
Save an article to the labelers internal database, and load it into the working memory so it is ready...
bool load(const QVariant &aArticle, const QVariantMap &aParams, QWidget *aParent)
Load an article into the working memory so it is ready to start labeling.
bool open(int aLineNo, const QString &aLineName, const QMap< QString, QString > &aConfig, QWidget *aParent)
Open the device and do general initializations (setting the current date for example).
Labeler interface.
Definition: bpslabeler.h:17
Entity
Clearing entities.
Definition: bpslabeler.h:50