X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbool.h;h=d7f8877bced90d5067b88923b30544be2c622372;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=62e5ca36b6425ee1f91f9ff34afe6d1504b9fe2b;hpb=de1d99bbe58f825e30048baa48a9439c01686f10;p=pulseview.git diff --git a/pv/prop/bool.h b/pv/prop/bool.h index 62e5ca3..d7f8877 100644 --- a/pv/prop/bool.h +++ b/pv/prop/bool.h @@ -30,16 +30,23 @@ namespace prop { class Bool : public Property { + Q_OBJECT; + public: Bool(QString name, Getter getter, Setter setter); - QWidget* get_widget(QWidget *parent); + virtual ~Bool(); + + QWidget* get_widget(QWidget *parent, bool auto_commit); bool labeled_widget() const; void commit(); +private Q_SLOTS: + void on_state_changed(int); + private: - QCheckBox *_check_box; + QCheckBox *check_box_; }; } // prop