summaryrefslogtreecommitdiff
path: root/client/widgets/combobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/combobox.h')
-rw-r--r--client/widgets/combobox.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/widgets/combobox.h b/client/widgets/combobox.h
index a79b2aa..9ad2323 100644
--- a/client/widgets/combobox.h
+++ b/client/widgets/combobox.h
@@ -30,19 +30,23 @@
#include "widget.h"
#include <QDomNode>
#include <QComboBox>
+#include <QRegExp>
class ComboBox : public QComboBox, public Widget
{
+Q_OBJECT
public:
ComboBox(QDomNode &node, MacroWindow *macrowindow);
public slots:
bool isValid();
QString getValue();
+ void setValue(QString value);
+ void changed();
private:
+ QRegExp rx;
QString combo_value;
-
};
#endif/*__PRACRO_COMBOBOX_H__*/