#include <optwidgetbase.h>
|
| OptWidgetNumber (Options::iterator param, QWidget *label, Options *oo, OptWidget *ow, QMutex *mutex=0, QWidget *parent=0) |
|
virtual void | get (void) |
|
virtual void | reset (void) |
|
virtual void | resetDefault (void) |
|
virtual void | update (void) |
|
virtual void | initActivation (void) |
|
void | setUnitLabel (QLabel *l) |
|
| OptWidgetBase (Options::iterator param, QWidget *label, Options *oo, OptWidget *ow, QMutex *mutex) |
|
virtual | ~OptWidgetBase (void) |
|
void | setMutex (QMutex *mutex) |
|
void | lockMutex (void) |
|
bool | tryLockMutex (int timeout=1) |
|
void | unlockMutex (void) |
|
void | addActivation (int index, OptWidgetBase *w) |
|
void | activateOption (bool eq) |
|
QWidget * | valueWidget (void) |
|
bool | editable (void) const |
|
Options::const_iterator | param (void) const |
|
Options::iterator | param (void) |
|
void | setUnitLabel (QLabel *l) |
|
References OptWidgetBase::Editable, relacs::max(), relacs::min(), OptWidgetBase::Param, DoubleSpinBox::setFormat(), OptWidget::SpecialInfinite, OptWidget::SpecialNone, OptWidgetNumber::valueChanged(), OptWidget::ValueHuge, OptWidget::ValueLarge, OptWidget::ValueLCD, OptWidget::ValueSmall, and OptWidgetBase::W.
void resetDefault |
( |
void |
| ) |
|
|
virtual |
void initActivation |
( |
void |
| ) |
|
|
virtual |
void setUnitLabel |
( |
QLabel * |
l | ) |
|
void valueChanged |
( |
double |
v | ) |
|
|
slot |
References OptWidgetBase::activateOption(), OptWidget::changedFlag(), OptWidgetBase::ContUpdate, OptWidgetNumber::doValueChanged(), OptWidgetBase::Editable, Options::end(), OptWidgetBase::Index, OptWidgetBase::InternChanged, OptWidgetBase::InternRead, Options::notifying(), OptWidgetBase::OO, Parameter::outUnit(), OptWidgetBase::OW, OptWidgetBase::param(), OptWidgetBase::Param, Options::setNotify(), Parameter::setNumber(), Options::unsetNotify(), OptWidgetBase::W, and OptWidgetBase::Widgets.
Referenced by OptWidgetNumber::OptWidgetNumber().
void doValueChanged |
( |
double |
v | ) |
|
|
protected |
References OptWidget::changedFlag(), OptWidgetBase::ContUpdate, Options::notify(), Options::notifying(), OptWidgetBase::OO, OptWidgetBase::OW, OptWidgetBase::Param, Options::setNotify(), OptWidgetBase::tryLockMutex(), OptWidgetBase::unlockMutex(), and Options::unsetNotify().
Referenced by OptWidgetNumber::customEvent(), and OptWidgetNumber::valueChanged().
void customEvent |
( |
QEvent * |
e | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: