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.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__*/