X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbool.h;h=d7f8877bced90d5067b88923b30544be2c622372;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=22fc95cc8c2827305491bacd6f21e6602f0a6b27;hpb=f459c5400e067c4389c472b84194d760e7bfd585;p=pulseview.git diff --git a/pv/prop/bool.h b/pv/prop/bool.h index 22fc95c..d7f8877 100644 --- a/pv/prop/bool.h +++ b/pv/prop/bool.h @@ -30,18 +30,23 @@ namespace prop { class Bool : public Property { + Q_OBJECT; + public: Bool(QString name, Getter getter, Setter setter); virtual ~Bool(); - QWidget* get_widget(QWidget *parent); + 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