Relacs  0.9.8
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OptWidgetBase Class Reference

#include <optwidgetbase.h>

Inheritance diagram for OptWidgetBase:
Inheritance graph
[legend]
Collaboration diagram for OptWidgetBase:
Collaboration graph
[legend]

Public Member Functions

 OptWidgetBase (Options::iterator param, QWidget *label, Options *oo, OptWidget *ow, QMutex *mutex)
 
virtual ~OptWidgetBase (void)
 
virtual void get (void)
 
virtual void reset (void)
 
virtual void resetDefault (void)
 
virtual void update (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

virtual void initActivation (void)
 

Protected Attributes

Options::iterator Param
 
OptionsOO
 
OptWidgetOW
 
QWidget * LabelW
 
QWidget * W
 
QLabel * UnitLabel
 
QWidget * UnitBrowseW
 
QMutex * OMutex
 
bool Editable
 
bool ContUpdate
 
bool InternChanged
 
bool InternRead
 
deque< OptWidgetBase * > Widgets
 
deque< int > Index
 

Constructor & Destructor Documentation

OptWidgetBase ( Options::iterator  param,
QWidget *  label,
Options oo,
OptWidget ow,
QMutex *  mutex 
)
~OptWidgetBase ( void  )
virtual

Member Function Documentation

void get ( void  )
virtual
void reset ( void  )
virtual
void resetDefault ( void  )
virtual
void update ( void  )
virtual
void setMutex ( QMutex *  mutex)

References OptWidgetBase::OMutex.

void lockMutex ( void  )

References OptWidgetBase::OMutex.

bool tryLockMutex ( int  timeout = 1)
void unlockMutex ( void  )
void addActivation ( int  index,
OptWidgetBase w 
)
void activateOption ( bool  eq)
QWidget * valueWidget ( void  )

References OptWidgetBase::W.

bool editable ( void  ) const
Options::const_iterator param ( void  ) const
Options::iterator param ( void  )

References OptWidgetBase::Param.

void setUnitLabel ( QLabel *  l)
void initActivation ( void  )
protectedvirtual

Member Data Documentation

Options::iterator Param
protected

Referenced by OptWidgetBase::activateOption(), OptWidgetText::browse(), OptWidgetText::doBrowse(), OptWidgetText::doTextChanged(), OptWidgetMultiText::doTextChanged(), OptWidgetNumber::doValueChanged(), OptWidgetBoolean::doValueChanged(), OptWidgetDate::doValueChanged(), OptWidgetTime::doValueChanged(), OptWidgetText::get(), OptWidgetMultiText::get(), OptWidgetNumber::get(), OptWidgetBoolean::get(), OptWidgetDate::get(), OptWidgetTime::get(), OptWidgetMultipleValues::get(), OptWidgetNumber::initActivation(), OptWidgetBase::OptWidgetBase(), OptWidgetBoolean::OptWidgetBoolean(), OptWidgetDate::OptWidgetDate(), OptWidgetMultipleValues::OptWidgetMultipleValues(), OptWidgetMultiText::OptWidgetMultiText(), OptWidgetNumber::OptWidgetNumber(), OptWidgetText::OptWidgetText(), OptWidgetTime::OptWidgetTime(), OptWidgetBase::param(), OptWidgetText::reset(), OptWidgetMultiText::reset(), OptWidgetNumber::reset(), OptWidgetBoolean::reset(), OptWidgetDate::reset(), OptWidgetTime::reset(), OptWidgetMultipleValues::reset(), OptWidgetText::resetDefault(), OptWidgetMultiText::resetDefault(), OptWidgetNumber::resetDefault(), OptWidgetBoolean::resetDefault(), OptWidgetDate::resetDefault(), OptWidgetTime::resetDefault(), OptWidgetMultipleValues::resetDefault(), OptWidgetText::textChanged(), OptWidgetMultiText::textChanged(), OptWidgetText::update(), OptWidgetMultiText::update(), OptWidgetNumber::update(), OptWidgetNumber::valueChanged(), OptWidgetBoolean::valueChanged(), OptWidgetDate::valueChanged(), and OptWidgetTime::valueChanged().

Options* OO
protected
OptWidget* OW
protected
QWidget* LabelW
protected
QWidget* W
protected
QLabel* UnitLabel
protected
QWidget* UnitBrowseW
protected
QMutex* OMutex
protected
bool Editable
protected
bool ContUpdate
protected
bool InternChanged
protected
bool InternRead
protected
deque< OptWidgetBase* > Widgets
protected
deque< int > Index
protected

The documentation for this class was generated from the following files: