#include <EditionScript.hxx>
Public Slots | |
virtual void | onApply () |
virtual void | onCancel () |
virtual void | onScriptModified () |
virtual void | onEdit () |
virtual void | on_tb_options_toggled (bool checked) |
virtual void | on_remote_toggled (bool checked) |
virtual void | fillContainerPanel () |
virtual void | changeContainer (int) |
virtual void | update (GuiEvent event, int type, Subject *son) |
Public Slots inherited from YACS::HMI::EditionElementaryNode | |
virtual void | onApply () |
virtual void | onCancel () |
virtual void | onPortIndexChanged (int index) |
virtual void | onCommitData (QWidget *editor) |
Public Member Functions | |
EditionScript (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionScript () |
virtual void | synchronize () |
Public Member Functions inherited from YACS::HMI::EditionElementaryNode | |
EditionElementaryNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionElementaryNode () |
virtual void | setEditablePorts (bool isEditable) |
Public Member Functions inherited from YACS::HMI::EditionNode | |
EditionNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionNode () |
virtual void | update (GuiEvent event, int type, Subject *son) |
Public Member Functions inherited from YACS::HMI::ItemEdition | |
ItemEdition (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~ItemEdition () |
virtual void | select (bool isSelected) |
virtual void | setName (std::string name) |
virtual void | setEdited (bool isEdited) |
Public Member Functions inherited from FormEditItem | |
FormEditItem (QWidget *parent=0) | |
virtual | ~FormEditItem () |
Public Member Functions inherited from YACS::HMI::ItemEditionBase | |
ItemEditionBase (Subject *subject) | |
virtual | ~ItemEditionBase () |
virtual Subject * | getSubject () |
Public Member Functions inherited from YACS::HMI::GuiObserver | |
GuiObserver () | |
virtual | ~GuiObserver () |
virtual void | incrementSubjects (Subject *subject) |
virtual void | decrementSubjects (Subject *subject) |
int | getNbSubjects () |
bool | isDestructible () |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::ItemEdition | |
static std::string | filterName (const std::string &name) |
Protected Member Functions inherited from YACS::HMI::EditionElementaryNode | |
virtual bool | hasInputPorts () |
virtual bool | hasOutputPorts () |
virtual void | createTablePorts (QLayout *layout) |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
static std::map< int, std::string > | _eventNameMap |
Definition at line 39 of file EditionScript.hxx.
Definition at line 49 of file EditionScript.cxx.
References _editor, _glayout, YACS::HMI::ItemEdition::_haveScript, _portslayout, _sci, _subInlineNode, YACS::HMI::ItemEditionBase::_subject, FormEditItem::_wid, cb_container, changeContainer(), YACS::HMI::EditionElementaryNode::createTablePorts(), fillContainerPanel(), formcontainer, fr_container, fr_options, YACS::ENGINE::InlineNode::getContainer(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::ENGINE::InlineNode::getScript(), on_remote_toggled(), on_tb_options_toggled(), onEdit(), onScriptModified(), YACS::HMI::Resource::pythonExternalEditor, radiolocal, radioremote, YACS::HMI::EditionElementaryNode::setEditablePorts(), update(), YACS::HMI::UPDATE, and YASSERT.
|
virtual |
Definition at line 161 of file EditionScript.cxx.
|
virtualslot |
Definition at line 339 of file EditionScript.cxx.
References _subInlineNode, cb_container, YACS::ENGINE::Proc::containerMap, DEBTRACE, FormContainerDecorator::FillPanel(), formcontainer, YACS::ENGINE::InlineNode::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::GuiContext::getProc(), YACS::HMI::SubjectInlineNode::setContainer(), and YASSERT.
Referenced by EditionScript(), and fillContainerPanel().
|
virtualslot |
Definition at line 315 of file EditionScript.cxx.
References _subInlineNode, cb_container, changeContainer(), YACS::ENGINE::Proc::containerMap, DEBTRACE, FormContainerDecorator::FillPanel(), formcontainer, YACS::ENGINE::InlineNode::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Container::getName(), YACS::HMI::SubjectNode::getNode(), and YACS::HMI::GuiContext::getProc().
Referenced by EditionScript(), on_remote_toggled(), onApply(), and update().
|
virtualslot |
Definition at line 288 of file EditionScript.cxx.
References _remote, _subInlineNode, DEBTRACE, fillContainerPanel(), formcontainer, fr_container, YACS::ENGINE::InlineNode::getExecutionMode(), YACS::HMI::SubjectNode::getNode(), FormContainerDecorator::hide(), YACS::HMI::SubjectInlineNode::setExecutionMode(), and FormContainerDecorator::show().
Referenced by EditionScript().
|
virtualslot |
Definition at line 267 of file EditionScript.cxx.
References _checked, _remote, DEBTRACE, formcontainer, fr_container, fr_options, FormContainerDecorator::hide(), and FormContainerDecorator::show().
Referenced by EditionScript().
|
virtualslot |
Definition at line 180 of file EditionScript.cxx.
References _editor, _glayout, YACS::HMI::ItemEdition::_haveScript, YACS::HMI::ItemEdition::_isEdited, _sci, _subInlineNode, DEBTRACE, fillContainerPanel(), formcontainer, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::EditionElementaryNode::onApply(), FormContainerDecorator::onApply(), YACS::HMI::Resource::pythonExternalEditor, YACS::HMI::Resource::pythonfont, PMMLBasicsTestLauncher::ret, and YACS::HMI::SubjectInlineNode::setScript().
Referenced by YACS::HMI::EditionPyFunc::onApply(), and onEdit().
|
virtualslot |
Definition at line 229 of file EditionScript.cxx.
References YACS::HMI::ItemEdition::_haveScript, _sci, _subInlineNode, formcontainer, YACS::HMI::SubjectInlineNode::getScript(), YACS::HMI::EditionElementaryNode::onCancel(), and FormContainerDecorator::onCancel().
Referenced by YACS::HMI::EditionPyFunc::onCancel().
|
virtualslot |
Definition at line 244 of file EditionScript.cxx.
References _sci, DEBTRACE, onApply(), options, and YACS::HMI::Resource::pythonExternalEditor.
Referenced by EditionScript().
|
virtualslot |
Definition at line 237 of file EditionScript.cxx.
References YACS::HMI::ItemEdition::_isEdited, DEBTRACE, and YACS::HMI::ItemEdition::setEdited().
Referenced by EditionScript(), and synchronize().
|
virtual |
used in derived nodes for synchronisation with schema model.
Reimplemented from YACS::HMI::EditionElementaryNode.
Definition at line 165 of file EditionScript.cxx.
References YACS::HMI::ItemEdition::_isEdited, _sci, _subInlineNode, DEBTRACE, YACS::HMI::SubjectNode::getNode(), YACS::ENGINE::InlineNode::getScript(), onScriptModified(), YACS::HMI::EditionElementaryNode::synchronize(), and YASSERT.
Definition at line 365 of file EditionScript.cxx.
References _remote, _subInlineNode, YACS::HMI::ASSOCIATE, DEBTRACE, YACS::HMI::GuiObserver::eventName(), fillContainerPanel(), FormContainerDecorator::FillPanel(), formcontainer, YACS::HMI::SubjectContainerBase::getContainer(), YACS::ENGINE::InlineNode::getExecutionMode(), YACS::HMI::SubjectNode::getNode(), radiolocal, radioremote, YACS::HMI::EditionNode::update(), YACS::HMI::UPDATE, and YASSERT.
Referenced by gui.graph.MyCanvas::customEvent(), and EditionScript().
|
protected |
Definition at line 72 of file EditionScript.hxx.
Referenced by on_tb_options_toggled().
|
protected |
Definition at line 71 of file EditionScript.hxx.
Referenced by EditionScript(), and onApply().
|
protected |
Definition at line 69 of file EditionScript.hxx.
Referenced by YACS::HMI::EditionPyFunc::EditionPyFunc(), EditionScript(), and onApply().
|
protected |
Definition at line 70 of file EditionScript.hxx.
Referenced by EditionScript().
|
protected |
Definition at line 73 of file EditionScript.hxx.
Referenced by on_remote_toggled(), on_tb_options_toggled(), and update().
|
protected |
Definition at line 67 of file EditionScript.hxx.
Referenced by YACS::HMI::EditionPyFunc::EditionPyFunc(), EditionScript(), onApply(), onCancel(), onEdit(), YACS::HMI::EditionPyFunc::onTemplate(), and synchronize().
|
protected |
Definition at line 62 of file EditionScript.hxx.
Referenced by changeContainer(), EditionScript(), fillContainerPanel(), on_remote_toggled(), onApply(), onCancel(), synchronize(), and update().
|
protected |
Definition at line 76 of file EditionScript.hxx.
Referenced by changeContainer(), EditionScript(), and fillContainerPanel().
|
protected |
Definition at line 79 of file EditionScript.hxx.
Referenced by changeContainer(), EditionScript(), fillContainerPanel(), on_remote_toggled(), on_tb_options_toggled(), onApply(), onCancel(), and update().
|
protected |
Definition at line 75 of file EditionScript.hxx.
Referenced by EditionScript(), on_remote_toggled(), and on_tb_options_toggled().
|
protected |
Definition at line 74 of file EditionScript.hxx.
Referenced by EditionScript(), and on_tb_options_toggled().
|
protected |
Definition at line 77 of file EditionScript.hxx.
Referenced by EditionScript(), and update().
|
protected |
Definition at line 78 of file EditionScript.hxx.
Referenced by EditionScript(), and update().