#include <DoubleControlElement.hh>
Definition at line 37 of file DoubleControlElement.hh.
◆ DoubleControlElement()
DoubleControlElement::DoubleControlElement |
( |
const QString & |
label, |
|
|
const double |
value = -1 , |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~DoubleControlElement()
DoubleControlElement::~DoubleControlElement |
( |
| ) |
|
◆ sliderViewEnabled()
bool DoubleControlElement::sliderViewEnabled |
( |
| ) |
const |
◆ setSliderViewEnabled()
void DoubleControlElement::setSliderViewEnabled |
( |
bool |
enable | ) |
|
◆ setRange()
void DoubleControlElement::setRange |
( |
const double |
min, |
|
|
const double |
max |
|
) |
| |
◆ setSingleStep()
void DoubleControlElement::setSingleStep |
( |
const double |
step | ) |
|
◆ setSpecialValueText()
void DoubleControlElement::setSpecialValueText |
( |
QString const & |
text | ) |
|
If specified, the given text is shown if the spin box is at its minimum value instead of that value.
If you pass a NULL (empty) string it will be reset to show the value again.
- Parameters
-
text | The text to output instead of the spinbox's minimum value |
◆ setSuffix()
void DoubleControlElement::setSuffix |
( |
QString const & |
text | ) |
|
If specified, the given text is appended to the value in the spinbox.
- Parameters
-
text | The text to append (e.g. unit) |
◆ value()
double DoubleControlElement::value |
( |
| ) |
const |
◆ toStdString()
std::string DoubleControlElement::toStdString |
( |
| ) |
const |
|
virtual |
◆ valueChanged [1/2]
void DoubleControlElement::valueChanged |
( |
double |
| ) |
|
|
signal |
◆ setValue [1/2]
void DoubleControlElement::setValue |
( |
const double & |
value | ) |
|
|
slot |
◆ setValue [2/2]
void DoubleControlElement::setValue |
( |
const std::string & |
value | ) |
|
|
slot |
◆ setSwitchable()
void AbstractControlElement::setSwitchable |
( |
const bool |
switchable | ) |
|
|
inherited |
◆ switchable()
bool AbstractControlElement::switchable |
( |
| ) |
const |
|
inherited |
◆ setActive()
void AbstractControlElement::setActive |
( |
const bool |
active | ) |
|
|
inherited |
◆ isActive()
bool AbstractControlElement::isActive |
( |
| ) |
const |
|
inherited |
◆ label()
QString AbstractControlElement::label |
( |
| ) |
const |
|
inherited |
◆ setLabel()
void AbstractControlElement::setLabel |
( |
const QString & |
label | ) |
|
|
inherited |
◆ labelWidget()
QWidget* AbstractControlElement::labelWidget |
( |
| ) |
|
|
inherited |
◆ controlWidget()
QWidget* AbstractControlElement::controlWidget |
( |
| ) |
|
|
inherited |
◆ activationStateChanged
void AbstractControlElement::activationStateChanged |
( |
bool |
| ) |
|
|
signalinherited |
◆ valueChanged [2/2]
void AbstractControlElement::valueChanged |
( |
| ) |
|
|
signalinherited |
◆ p_labelLayout
QHBoxLayout* AbstractControlElement::p_labelLayout |
|
protectedinherited |
◆ p_controlLayout
QHBoxLayout* AbstractControlElement::p_controlLayout |
|
protectedinherited |
◆ p_switch
QCheckBox* AbstractControlElement::p_switch |
|
protectedinherited |
◆ p_label
QLabel* AbstractControlElement::p_label |
|
protectedinherited |
The documentation for this class was generated from the following file: