#include <ValueDelegate.hxx>
Public Member Functions | |
CaseSwitchEditor (Subject *subject, const ValueDelegate *delegate, int column=0, QWidget *parent=0) | |
virtual | ~CaseSwitchEditor () |
virtual QString | GetStrValue () |
virtual void | setData (QVariant val) |
Public Member Functions inherited from YACS::HMI::CaseSwitch | |
CaseSwitch (QWidget *parent=0) | |
~CaseSwitch () | |
bool | isDefaultChecked () |
void | setDefaultChecked (bool isDefault) |
Public Member Functions inherited from YACS::HMI::GenericEditor | |
GenericEditor () | |
virtual | ~GenericEditor () |
virtual void | setSubject (Subject *subject) |
virtual void | setColumn (int column) |
virtual void | setDelegate (const ValueDelegate *delegate) |
virtual Subject * | getSubject () |
virtual int | getColumnInSubject () |
virtual bool | firstSetData () |
Additional Inherited Members | |
Public Slots inherited from YACS::HMI::CaseSwitch | |
void | on_cb_default_stateChanged (int state) |
Protected Attributes inherited from YACS::HMI::CaseSwitch | |
bool | _isDefault |
Protected Attributes inherited from YACS::HMI::GenericEditor | |
Subject * | _subject |
int | _column |
const ValueDelegate * | _delegate |
bool | _first |
Definition at line 102 of file ValueDelegate.hxx.
CaseSwitchEditor::CaseSwitchEditor | ( | Subject * | subject, |
const ValueDelegate * | delegate, | ||
int | column = 0 , |
||
QWidget * | parent = 0 |
||
) |
Definition at line 199 of file ValueDelegate.cxx.
References YACS::HMI::GenericEditor::setColumn(), YACS::HMI::GenericEditor::setDelegate(), and YACS::HMI::GenericEditor::setSubject().
|
virtual |
Definition at line 212 of file ValueDelegate.cxx.
|
virtual |
Reimplemented from YACS::HMI::GenericEditor.
Definition at line 216 of file ValueDelegate.cxx.
References YACS::HMI::CaseSwitch::_isDefault, DEBTRACE, and YACS::ENGINE::Switch::ID_FOR_DEFAULT_NODE.
|
virtual |
Reimplemented from YACS::HMI::GenericEditor.
Definition at line 227 of file ValueDelegate.cxx.
References DEBTRACE, and YACS::HMI::CaseSwitch::setDefaultChecked().