Documents > BPS V2 C++ API
bpsarticleinput.h
Go to the documentation of this file.
00001 
00004 #ifndef BPSARTICLEINPUT_H
00005 #define BPSARTICLEINPUT_H
00006 
00007 #include "bpsgui_global.h"
00008 #include <QWidget>
00009 #include <QVariant>
00010 
00011 class BpsDatastore;
00012 
00018 class BPSGUI_EXPORT BpsArticleInput : public QWidget
00019 {
00020     Q_OBJECT
00021     BPS_PRIVATE(BpsArticleInput)
00022 
00023 public:
00024 
00029     BpsArticleInput(BpsDatastore* aDatastore, QWidget* aParent = 0);
00030 
00034     QVariant articleKey() const;
00035 
00036 public slots:
00037 
00042     void setArticleKey(const QVariant& aKey);
00043 
00044 signals:
00045 
00050     void articleKeyChanged(const QVariant& aKey);
00051 
00053 protected:
00054     virtual bool focusNextPrevChild(bool aNext);
00056 };
00057 
00058 #endif // BPSARTICLEINPUT_H