#include <FormContainerDecorator.hxx>
Public Slots | |
void | on_tb_container_toggled (bool checked) |
void | onResMousePressed () |
void | onResActivated (int) |
void | onContToggled (bool) |
Signals | |
void | typeOfContainerIsKnown (const QString &typeOfCont) |
void | resourceMousePressed () |
void | resourceActivated (int) |
void | containerToggled (bool) |
Public Member Functions | |
FormContainerDecorator (YACS::ENGINE::Container *cont, QWidget *parent=0) | |
~FormContainerDecorator () | |
void | FillPanel (YACS::ENGINE::Container *container) |
QWidget * | getWidget () |
bool | onApply () |
void | onCancel () |
void | show () |
void | hide () |
void | synchronizeCheckContainer () |
std::string | getHostName (int index) const |
void | setName (const std::string &name) |
Static Public Attributes | |
static bool | CHECKED = false |
Private Member Functions | |
bool | checkOK () const |
void | checkAndRepareTypeIfNecessary (YACS::ENGINE::Container *container) |
void | connectForTyp () |
Private Attributes | |
FormContainerBase * | _typ |
QIcon | _icon |
Definition at line 40 of file FormContainerDecorator.hxx.
FormContainerDecorator::FormContainerDecorator | ( | YACS::ENGINE::Container * | cont, |
QWidget * | parent = 0 |
||
) |
Definition at line 34 of file FormContainerDecorator.cxx.
References _icon, _typ, CHECKED, connectForTyp(), FormContainerBase::FillPanel(), FormContainerBase::getTypeStr(), on_tb_container_toggled(), and typeOfContainerIsKnown().
FormContainerDecorator::~FormContainerDecorator | ( | ) |
Definition at line 56 of file FormContainerDecorator.cxx.
References _typ.
|
private |
Definition at line 157 of file FormContainerDecorator.cxx.
References _typ, connectForTyp(), FormContainerBase::FillPanel(), FormContainerBase::getTypeStr(), and typeOfContainerIsKnown().
Referenced by FillPanel().
|
private |
Definition at line 152 of file FormContainerDecorator.cxx.
References _typ.
Referenced by getHostName(), hide(), onApply(), onCancel(), setName(), and show().
|
private |
Definition at line 179 of file FormContainerDecorator.cxx.
References _typ, onContToggled(), onResActivated(), and onResMousePressed().
Referenced by checkAndRepareTypeIfNecessary(), and FormContainerDecorator().
|
signal |
Referenced by onContToggled().
void FormContainerDecorator::FillPanel | ( | YACS::ENGINE::Container * | container | ) |
Definition at line 61 of file FormContainerDecorator.cxx.
References _typ, checkAndRepareTypeIfNecessary(), and FormContainerBase::FillPanel().
Referenced by YACS::HMI::EditionScript::changeContainer(), YACS::HMI::EditionContainer::fillContainerPanel(), YACS::HMI::EditionScript::fillContainerPanel(), YACS::HMI::EditionSalomeNode::fillContainerPanel(), YACS::HMI::EditionSalomeNode::onCancel(), and YACS::HMI::EditionScript::update().
std::string FormContainerDecorator::getHostName | ( | int | index | ) | const |
Definition at line 123 of file FormContainerDecorator.cxx.
References _typ, and checkOK().
Referenced by YACS::HMI::EditionSalomeNode::changeHost().
QWidget * FormContainerDecorator::getWidget | ( | ) |
Definition at line 67 of file FormContainerDecorator.cxx.
References _typ.
Referenced by on_tb_container_toggled().
void FormContainerDecorator::hide | ( | ) |
Definition at line 96 of file FormContainerDecorator.cxx.
References _typ, and checkOK().
Referenced by YACS::HMI::EditionScript::on_remote_toggled(), and YACS::HMI::EditionScript::on_tb_options_toggled().
|
slot |
Definition at line 104 of file FormContainerDecorator.cxx.
References CHECKED, DEBTRACE, and getWidget().
Referenced by FormContainerDecorator(), and show().
bool FormContainerDecorator::onApply | ( | ) |
Definition at line 72 of file FormContainerDecorator.cxx.
References _typ, checkOK(), and FormContainerBase::onApply().
Referenced by YACS::HMI::EditionScript::onApply(), YACS::HMI::EditionContainer::onApply(), and YACS::HMI::EditionSalomeNode::onApply().
void FormContainerDecorator::onCancel | ( | ) |
Definition at line 79 of file FormContainerDecorator.cxx.
References _typ, checkOK(), and FormContainerBase::onCancel().
Referenced by YACS::HMI::EditionScript::onCancel(), and YACS::HMI::EditionContainer::onCancel().
|
slot |
Definition at line 147 of file FormContainerDecorator.cxx.
References containerToggled().
Referenced by connectForTyp().
|
slot |
Definition at line 142 of file FormContainerDecorator.cxx.
References resourceActivated().
Referenced by connectForTyp().
|
slot |
Definition at line 137 of file FormContainerDecorator.cxx.
References resourceMousePressed().
Referenced by connectForTyp().
|
signal |
Referenced by onResActivated().
|
signal |
Referenced by onResMousePressed().
void FormContainerDecorator::setName | ( | const std::string & | name | ) |
Definition at line 130 of file FormContainerDecorator.cxx.
References _typ, and checkOK().
Referenced by YACS::HMI::EditionContainer::update().
void FormContainerDecorator::show | ( | ) |
Definition at line 86 of file FormContainerDecorator.cxx.
References _typ, CHECKED, checkOK(), and on_tb_container_toggled().
Referenced by YACS::HMI::EditionScript::on_remote_toggled(), and YACS::HMI::EditionScript::on_tb_options_toggled().
void FormContainerDecorator::synchronizeCheckContainer | ( | ) |
Definition at line 118 of file FormContainerDecorator.cxx.
References CHECKED.
Referenced by YACS::HMI::EditionSalomeNode::synchronize().
|
signal |
Referenced by checkAndRepareTypeIfNecessary(), and FormContainerDecorator().
|
private |
Definition at line 73 of file FormContainerDecorator.hxx.
Referenced by FormContainerDecorator().
|
private |
Definition at line 72 of file FormContainerDecorator.hxx.
Referenced by checkAndRepareTypeIfNecessary(), checkOK(), connectForTyp(), FillPanel(), FormContainerDecorator(), getHostName(), getWidget(), hide(), onApply(), onCancel(), setName(), show(), and ~FormContainerDecorator().
|
static |
Definition at line 56 of file FormContainerDecorator.hxx.
Referenced by FormContainerDecorator(), on_tb_container_toggled(), show(), and synchronizeCheckContainer().