Relacs Widgets Library
0.9.8
|
#include <optwidgetbase.h>
Public Slots | |
void | textChanged (const QString &s) |
void | insertText (const QString &text) |
Signals | |
void | valueChanged (const Parameter &p) |
Public Member Functions | |
OptWidgetMultiText (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) |
Public Member Functions inherited from OptWidgetBase | |
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) |
Protected Member Functions | |
void | setParameter (Parameter &p, const string &s) |
void | doTextChanged (const QString &s) |
void | doInsertText (const QString &text) |
virtual void | customEvent (QEvent *e) |
Additional Inherited Members | |
Protected Attributes inherited from OptWidgetBase | |
Options::iterator | Param |
Options * | OO |
OptWidget * | OW |
QWidget * | LabelW |
QWidget * | W |
QLabel * | UnitLabel |
QWidget * | UnitBrowseW |
QMutex * | OMutex |
bool | Editable |
bool | ContUpdate |
bool | InternChanged |
bool | InternRead |
deque< OptWidgetBase * > | Widgets |
deque< int > | Index |
OptWidgetMultiText | ( | Options::iterator | param, |
QWidget * | label, | ||
Options * | oo, | ||
OptWidget * | ow, | ||
QMutex * | mutex = 0 , |
||
QWidget * | parent = 0 |
||
) |
|
virtual |
Reimplemented from OptWidgetBase.
References OptWidget::changedFlag(), OptWidgetBase::Editable, OptWidgetBase::InternRead, OptWidgetBase::OO, OptWidgetBase::OW, OptWidgetBase::Param, and OptWidgetMultiText::setParameter().
|
virtual |
Reimplemented from OptWidgetBase.
References OptWidgetBase::Editable, OptWidgetBase::InternChanged, and OptWidgetBase::Param.
Referenced by OptWidgetMultiText::OptWidgetMultiText().
|
virtual |
Reimplemented from OptWidgetBase.
References OptWidgetBase::Editable, OptWidgetBase::InternChanged, and OptWidgetBase::Param.
|
virtual |
Reimplemented from OptWidgetBase.
References OptWidgetBase::InternChanged, OptWidgetBase::Param, and OptWidgetBase::UnitLabel.
|
virtual |
Reimplemented from OptWidgetBase.
References OptWidgetBase::Index, OptWidgetBase::OO, and OptWidgetBase::Widgets.
void setUnitLabel | ( | QLabel * | l | ) |
References OptWidgetBase::UnitBrowseW, and OptWidgetBase::UnitLabel.
|
slot |
References OptWidgetBase::activateOption(), OptWidget::changedFlag(), OptWidgetBase::ContUpdate, OptWidgetMultiText::doTextChanged(), OptWidgetBase::Editable, OptWidgetBase::Index, OptWidgetBase::InternChanged, OptWidgetBase::InternRead, OptWidgetBase::OO, OptWidgetBase::OW, OptWidgetBase::param(), OptWidgetBase::Param, OptWidgetMultiText::setParameter(), Parameter::text(), OptWidgetMultiText::valueChanged(), and OptWidgetBase::Widgets.
Referenced by OptWidgetMultiText::OptWidgetMultiText().
|
slot |
References OptWidgetMultiText::doInsertText(), and OptWidgetBase::OW.
Referenced by OptWidgetMultiText::OptWidgetMultiText().
|
signal |
Referenced by OptWidgetMultiText::textChanged().
|
protected |
References Parameter::addText(), and Parameter::setText().
Referenced by OptWidgetMultiText::doTextChanged(), OptWidgetMultiText::get(), and OptWidgetMultiText::textChanged().
|
protected |
References OptWidget::changedFlag(), OptWidgetBase::ContUpdate, OptWidgetBase::OO, OptWidgetBase::OW, OptWidgetBase::Param, OptWidgetMultiText::setParameter(), OptWidgetBase::tryLockMutex(), and OptWidgetBase::unlockMutex().
Referenced by OptWidgetMultiText::customEvent(), and OptWidgetMultiText::textChanged().
|
protected |
References OptWidgetBase::tryLockMutex(), and OptWidgetBase::unlockMutex().
Referenced by OptWidgetMultiText::customEvent(), and OptWidgetMultiText::insertText().
|
protectedvirtual |
References OptWidgetMultiText::doInsertText(), and OptWidgetMultiText::doTextChanged().