diff options
Diffstat (limited to 'client/widgets/checkbox.h')
-rw-r--r-- | client/widgets/checkbox.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/client/widgets/checkbox.h b/client/widgets/checkbox.h index 89f1f1b..34cac6b 100644 --- a/client/widgets/checkbox.h +++ b/client/widgets/checkbox.h @@ -40,14 +40,29 @@ public: // bool isValid(); QString getValue(); - void setValue(QString value); + void setValue(QString value, QString source = ""); + + void connectFrom(const char *signal, + const QObject *receiver, const char *method); + + void connectTo(const QObject *sender, const char *signal, + const char *method); + + void setVisibility(bool visible); + + bool setKeyboardFocus(); public slots: - void state_change(); + void state_change(int); + +signals: + void wasChanged(); private: QString truevalue; QString falsevalue; + + bool changedByUser; }; #endif/*__PRACRO_CHECKBOX_H__*/ |