summaryrefslogtreecommitdiff
path: root/client/widgets/combobox.h
diff options
context:
space:
mode:
authordeva <deva>2008-06-20 14:55:06 +0000
committerdeva <deva>2008-06-20 14:55:06 +0000
commit72cea006a29539ac064a40198ce9699e28b51679 (patch)
tree69a0d615ff30b4be9c55cb503eae9c57be9ddb70 /client/widgets/combobox.h
parentf3c9e1d2037e911ddabf9a95f2f0ffbe9b11617f (diff)
Modified combobox to use more complex search and an overall nicer behaviour... testing needed, and maybe more changes.
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__*/