X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fbinding.h;h=4de4af33ba3044f150b88c5fc4fc8698e5a21ab5;hb=38db1a87b23e84068c7f176d5a189564078a6260;hp=7bb3238b09ffbbf0bfbcefd2f12612d3d6fdcf38;hpb=479bcabe6b4d0b1f51984085d9944ce6b03ed07c;p=pulseview.git diff --git a/pv/prop/binding/binding.h b/pv/prop/binding/binding.h index 7bb3238..4de4af3 100644 --- a/pv/prop/binding/binding.h +++ b/pv/prop/binding/binding.h @@ -38,10 +38,16 @@ class Binding public: const std::vector< boost::shared_ptr >& properties(); + void commit(); + + void add_properties_to_form(QFormLayout *layout, + bool auto_commit = false) const; + + QWidget* get_property_form(QWidget *parent, + bool auto_commit = false) const; + protected: std::vector< boost::shared_ptr > _properties; - - QWidget *_form; }; } // binding