Go to the documentation of this file.00001
00004 #ifndef BPSCONFIGWIDGET_H
00005 #define BPSCONFIGWIDGET_H
00006
00007 #include "bpsgui_global.h"
00008 #include <QWidget>
00009
00010 class BpsDatastore;
00011
00015 class BPSGUI_EXPORT BpsConfigWidget : public QWidget
00016 {
00017 Q_OBJECT
00018 BPS_PRIVATE(BpsConfigWidget)
00019
00020 public:
00025 BpsConfigWidget(QWidget* aParent=0);
00026
00030 virtual ~BpsConfigWidget();
00031
00036 virtual void setConfig(const QMap<QString,QString>& aConfig);
00037
00041 virtual QMap<QString,QString> config() const;
00042
00046 virtual bool isConfigValid() const;
00047
00051 virtual void focusToFirstInput();
00052
00057 virtual void focusToFirstInvalidInput();
00058
00059 signals:
00060
00065 void configEdited();
00066
00071 void configChanged();
00072
00077 void configValid(bool aValid);
00078
00079 };
00080
00081 #endif // BPSCONFIGWIDGET_H