projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced boost::bind with C++11 lambdas
[pulseview.git]
/
pv
/
prop
/
bool.h
diff --git
a/pv/prop/bool.h
b/pv/prop/bool.h
index 22fc95cc8c2827305491bacd6f21e6602f0a6b27..0d8e205e87a682976b417e3b796fc7ca0e16eb9f 100644
(file)
--- a/
pv/prop/bool.h
+++ b/
pv/prop/bool.h
@@
-30,16
+30,21
@@
namespace prop {
class Bool : public Property
{
class Bool : public Property
{
+ Q_OBJECT;
+
public:
Bool(QString name, Getter getter, Setter setter);
virtual ~Bool();
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();
bool labeled_widget() const;
void commit();
+private slots:
+ void on_state_changed(int);
+
private:
QCheckBox *_check_box;
};
private:
QCheckBox *_check_box;
};