X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fbinding.h;h=9b63c16214f1fffc9e83bd27245b1600d0a2dedd;hp=97a6a5d1f8e7b6e9dfe6c03cd7345490269c95cd;hb=117ef0090a0c285369ce48bcc7e01d92faa9f329;hpb=4206fe26e6b3f6439e382a072f5ff67c009f412a diff --git a/pv/prop/binding/binding.h b/pv/prop/binding/binding.h index 97a6a5d1..9b63c162 100644 --- a/pv/prop/binding/binding.h +++ b/pv/prop/binding/binding.h @@ -24,6 +24,7 @@ #include #include +class QFormLayout; class QWidget; namespace pv { @@ -40,9 +41,11 @@ public: void commit(); - void add_properties_to_form(QFormLayout *layout) const; + void add_properties_to_form(QFormLayout *layout, + bool auto_commit = false) const; - QWidget* get_property_form(QWidget *parent) const; + QWidget* get_property_form(QWidget *parent, + bool auto_commit = false) const; protected: std::vector< boost::shared_ptr > _properties;