Go to the documentation of this file.00001
00004 #ifndef BPSRELATIONINPUT_H
00005 #define BPSRELATIONINPUT_H
00006
00007 #include "bpsgui_global.h"
00008 #include <QComboBox>
00009
00010 class BpsDatastore;
00011
00015 class BPSGUI_EXPORT BpsRelationInput : public QComboBox
00016 {
00017 Q_OBJECT
00018 BPS_PRIVATE(BpsRelationInput)
00019
00020 public:
00021
00028 BpsRelationInput(BpsDatastore* aDatastore, const QString& aRelTable, const QString& aRelColumn, QWidget* aParent = 0);
00029
00033 QVariant relationKey() const;
00034
00035 public slots:
00036
00041 void setRelationKey(const QVariant& aKey);
00042
00043 signals:
00044
00049 void relationKeyChanged(const QVariant& aKey);
00050 };
00051
00052 #endif // BPSRELATIONINPUT_H