projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump PulseView version to 0.2.0.
[pulseview.git]
/
pv
/
prop
/
binding
/
binding.h
diff --git
a/pv/prop/binding/binding.h
b/pv/prop/binding/binding.h
index 97a6a5d1f8e7b6e9dfe6c03cd7345490269c95cd..89c1acbc88628779ad4ddad0797aed5590745230 100644
(file)
--- a/
pv/prop/binding/binding.h
+++ b/
pv/prop/binding/binding.h
@@
-21,9
+21,14
@@
#ifndef PULSEVIEW_PV_PROP_BINDING_BINDING_H
#define PULSEVIEW_PV_PROP_BINDING_BINDING_H
#ifndef PULSEVIEW_PV_PROP_BINDING_BINDING_H
#define PULSEVIEW_PV_PROP_BINDING_BINDING_H
+#include <glib.h>
+
#include <vector>
#include <boost/shared_ptr.hpp>
#include <vector>
#include <boost/shared_ptr.hpp>
+#include <QString>
+
+class QFormLayout;
class QWidget;
namespace pv {
class QWidget;
namespace pv {
@@
-40,9
+45,13
@@
public:
void commit();
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,
+ bool auto_commit = false) const;
-
QWidget* get_property_form(QWidget *parent) const
;
+
static QString print_gvariant(GVariant *const gvar)
;
protected:
std::vector< boost::shared_ptr<Property> > _properties;
protected:
std::vector< boost::shared_ptr<Property> > _properties;