summaryrefslogtreecommitdiff
path: root/client/widgets/combobox.h
diff options
context:
space:
mode:
authordeva <deva>2008-08-20 10:28:35 +0000
committerdeva <deva>2008-08-20 10:28:35 +0000
commit3eebecacd576c35605aff01324ec66ad9825b0d7 (patch)
treea4f58503967707cdc1ecab07a0b15b67d32bdab6 /client/widgets/combobox.h
parent45702265ce206381bcb02a53b413ad987897b02b (diff)
Fixed various small bugs.
Diffstat (limited to 'client/widgets/combobox.h')
-rw-r--r--client/widgets/combobox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/widgets/combobox.h b/client/widgets/combobox.h
index 0a5724f..f072bea 100644
--- a/client/widgets/combobox.h
+++ b/client/widgets/combobox.h
@@ -32,6 +32,12 @@
#include <QComboBox>
#include <QRegExp>
+typedef enum {
+ SELECT,
+ EDIT,
+ SEARCH
+} types_t;
+
class ComboBox : public QComboBox, public Widget
{
Q_OBJECT
@@ -52,6 +58,7 @@ public slots:
private:
QRegExp rx;
QString combo_value;
+ types_t combotype;
};
#endif/*__PRACRO_COMBOBOX_H__*/