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