From 72cea006a29539ac064a40198ce9699e28b51679 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 20 Jun 2008 14:55:06 +0000 Subject: Modified combobox to use more complex search and an overall nicer behaviour... testing needed, and maybe more changes. --- client/widgets/combobox.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/widgets/combobox.h') 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 #include +#include 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__*/ -- cgit v1.2.3