X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fint.hpp;h=f6b7c2d1f1642d64a55a575fbcd7100618cd3c46;hb=dbed5609ae31cdfc3e9db10f3ab91b7607c08372;hp=e94f6cbf7e549039b3c8f4ed435247f29000e861;hpb=6f925ba9d6faf1077b73c5a5808259576081716a;p=pulseview.git diff --git a/pv/prop/int.hpp b/pv/prop/int.hpp index e94f6cb..f6b7c2d 100644 --- a/pv/prop/int.hpp +++ b/pv/prop/int.hpp @@ -38,13 +38,14 @@ class Int : public Property Q_OBJECT; public: - Int(QString name, QString suffix, + Int(QString name, QString desc, QString suffix, boost::optional< pair > range, Getter getter, Setter setter); virtual ~Int() = default; QWidget* get_widget(QWidget *parent, bool auto_commit); + void update_widget(); void commit(); @@ -59,7 +60,7 @@ private: QSpinBox *spin_box_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_INT_HPP