summaryrefslogtreecommitdiff
path: root/client/widgets/altcombobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/altcombobox.h')
-rw-r--r--client/widgets/altcombobox.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/client/widgets/altcombobox.h b/client/widgets/altcombobox.h
index 222c797..5504f4a 100644
--- a/client/widgets/altcombobox.h
+++ b/client/widgets/altcombobox.h
@@ -44,20 +44,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 onValueChange(int index);
void onValueChange(const QString &text);
+ void onChildChange();
+
+signals:
+ void wasChanged();
private:
ComboBox *combobox;
Widget *innerwidget;
QString altvalue;
QWidget *altframe;
+ QWidget *altframerepl;
};
#endif/*__PRACRO_ALTCOMBOBOX_H__*/