Documents > BPS V2 C++ API
bpslabelergui.h
Go to the documentation of this file.
00001 
00004 #ifndef BPSLABELERGUI_H
00005 #define BPSLABELERGUI_H
00006 
00007 #include "bpsgui_global.h"
00008 #include <QWidget>
00009 #include <QVariantMap>
00010 
00011 class BpsLabeler;
00012 class QWidget;
00013 
00019 class BPSGUI_EXPORT BpsLabelerGui : public QObject
00020 {
00021     Q_OBJECT
00022     BPS_PRIVATE(BpsLabelerGui)
00023 
00024 public:
00029     BpsLabelerGui(BpsLabeler* aLabeler, QObject* aParent = 0);
00030 
00031     virtual ~BpsLabelerGui();
00032 
00036     BpsLabeler* labeler() const;
00037 
00046     bool open(int aLineNo, const QString& aLineName, const QMap<QString,QString>& aConfig, QWidget* aParent);
00047 
00053     bool close(QWidget* aParent);
00054 
00064     bool load(const QVariant& aArticle, const QVariant& aCollection, const QVariantMap& aParams, QWidget* aParent);
00065 
00074     bool save(const QVariant& aArticle, const QVariant& aCollection, const QVariantMap& aParams, QWidget* aParent);
00075 
00085     bool saveLoad(const QVariant& aArticle, const QVariant& aCollection, const QVariantMap& aParams, QWidget* aParent);
00086 
00093     bool clear(const QVariant& aCollection, QWidget* aParent);
00094 
00100     bool start(QWidget* aParent);
00101 
00107     bool stop(QWidget* aParent);
00108 
00109 
00110 };
00111 
00112 #endif // BPSLABELERGUI_H