21 #ifndef PULSEVIEW_PV_PROP_INT_HPP
22 #define PULSEVIEW_PV_PROP_INT_HPP
26 #include <boost/optional.hpp>
40 Int(QString
name, QString suffix,
41 boost::optional< std::pair<int64_t, int64_t> > range,
46 QWidget*
get_widget(QWidget *parent,
bool auto_commit);
55 const boost::optional< std::pair<int64_t, int64_t> >
range_;
64 #endif // PULSEVIEW_PV_PROP_INT_HPP
const QString & name() const
QWidget * get_widget(QWidget *parent, bool auto_commit)
std::function< void(Glib::VariantBase)> Setter
const boost::optional< std::pair< int64_t, int64_t > > range_
void on_value_changed(int)
std::function< Glib::VariantBase()> Getter
Int(QString name, QString suffix, boost::optional< std::pair< int64_t, int64_t > > range, Getter getter, Setter setter)