20 #ifndef PULSEVIEW_PV_PROP_INT_HPP 21 #define PULSEVIEW_PV_PROP_INT_HPP 25 #include <boost/optional.hpp> 42 boost::optional< pair<int64_t, int64_t> > range,
43 Getter getter,
Setter setter, QString special_value_text =
"");
45 virtual ~Int() =
default;
47 QWidget*
get_widget(QWidget *parent,
bool auto_commit);
57 const boost::optional< pair<int64_t, int64_t> >
range_;
66 #endif // PULSEVIEW_PV_PROP_INT_HPP
const QString special_value_text_
const QString & desc() const
const QString & name() const
QWidget * get_widget(QWidget *parent, bool auto_commit)
void on_value_changed(int)
Int(QString name, QString desc, QString suffix, boost::optional< pair< int64_t, int64_t > > range, Getter getter, Setter setter, QString special_value_text="")
function< Glib::VariantBase()> Getter
const boost::optional< pair< int64_t, int64_t > > range_
function< void(Glib::VariantBase)> Setter