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.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/client/widgets/combobox.h b/client/widgets/combobox.h
index f072bea..2691ec3 100644
--- a/client/widgets/combobox.h
+++ b/client/widgets/combobox.h
@@ -47,18 +47,34 @@ public:
bool isValid();
QString getValue();
- void setValue(QString value);
+ void setValue(QString value, QString source = "");
void enable();
void disable();
+ void connectFrom(const char *signal,
+ const QObject *receiver, const char *method);
+
+ void connectTo(const QObject *sender, const char *signal,
+ const char *method);
+
+ bool setKeyboardFocus();
+ void setVisibility(bool visible);
+
public slots:
void changed();
+signals:
+ void wasChanged();
+
+protected:
+ // bool eventFilter(QObject *, QEvent *event);
+
private:
QRegExp rx;
QString combo_value;
types_t combotype;
+ bool ischangingbyuser;
};
#endif/*__PRACRO_COMBOBOX_H__*/