PulseView
unreleased development snapshot
A Qt-based sigrok GUI
|
#include <double.hpp>
Public Member Functions | |
Double (QString name, QString desc, int decimals, QString suffix, boost::optional< pair< double, double > > range, boost::optional< double > step, Getter getter, Setter setter) | |
virtual | ~Double ()=default |
QWidget * | get_widget (QWidget *parent, bool auto_commit) |
void | update_widget () |
void | commit () |
Public Member Functions inherited from pv::prop::Property | |
const QString & | name () const |
const QString & | desc () const |
virtual bool | labeled_widget () const |
Private Slots | |
void | on_value_changed (double) |
Private Attributes | |
const int | decimals_ |
const QString | suffix_ |
const boost::optional< pair< double, double > > | range_ |
const boost::optional< double > | step_ |
QDoubleSpinBox * | spin_box_ |
Additional Inherited Members | |
Public Types inherited from pv::prop::Property | |
typedef function< Glib::VariantBase()> | Getter |
typedef function< void(Glib::VariantBase)> | Setter |
Protected Member Functions inherited from pv::prop::Property | |
Property (QString name, QString desc, Getter getter, Setter setter) | |
Protected Attributes inherited from pv::prop::Property | |
const Getter | getter_ |
const Setter | setter_ |
QString | name_ |
QString | desc_ |
Definition at line 36 of file double.hpp.
pv::prop::Double::Double | ( | QString | name, |
QString | desc, | ||
int | decimals, | ||
QString | suffix, | ||
boost::optional< pair< double, double > > | range, | ||
boost::optional< double > | step, | ||
Getter | getter, | ||
Setter | setter | ||
) |
Definition at line 35 of file double.cpp.
|
virtualdefault |
|
virtual |
Implements pv::prop::Property.
Definition at line 107 of file double.cpp.
|
virtual |
Implements pv::prop::Property.
Definition at line 52 of file double.cpp.
|
privateslot |
Definition at line 117 of file double.cpp.
|
virtual |
Implements pv::prop::Property.
Definition at line 86 of file double.cpp.
|
private |
Definition at line 58 of file double.hpp.
|
private |
Definition at line 60 of file double.hpp.
|
private |
Definition at line 63 of file double.hpp.
|
private |
Definition at line 61 of file double.hpp.
|
private |
Definition at line 59 of file double.hpp.