#include <TablePortsEdition.hxx>
Public Slots | |
void | on_pb_up_clicked () |
void | on_pb_down_clicked () |
void | on_pb_insert_clicked () |
void | on_pb_remove_clicked () |
void | oncb_insert_activated (const QString &text) |
void | oncb_insert_popupHide () |
void | oncb_insert_popupShow () |
Public Member Functions | |
TablePortsEdition (bool inPorts, QWidget *parent=0) | |
virtual | ~TablePortsEdition () |
void | setNode (SubjectElementaryNode *node) |
virtual void | setEditablePorts (bool isEditable) |
virtual void | adjustColumns () |
Protected Member Functions | |
void | upOrDown (int isUp) |
Protected Attributes | |
bool | _inPorts |
SubjectElementaryNode * | _node |
int | _nbUp |
Definition at line 56 of file TablePortsEdition.hxx.
TablePortsEdition::TablePortsEdition | ( | bool | inPorts, |
QWidget * | parent = 0 |
||
) |
Definition at line 86 of file TablePortsEdition.cxx.
References _inPorts, _nbUp, _node, DEBTRACE, oncb_insert_activated(), oncb_insert_popupHide(), and oncb_insert_popupShow().
|
virtual |
Definition at line 110 of file TablePortsEdition.cxx.
References DEBTRACE.
|
virtual |
Definition at line 286 of file TablePortsEdition.cxx.
References DEBTRACE, YACS::HMI::YLabel, and YACS::HMI::YType.
Referenced by YACS::HMI::EditionElementaryNode::synchronize().
|
slot |
Definition at line 127 of file TablePortsEdition.cxx.
References _nbUp, DEBTRACE, and upOrDown().
|
slot |
Definition at line 176 of file TablePortsEdition.cxx.
References _nbUp, DEBTRACE, YACS::HMI::Subject::getName(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::QtGuiContext::getSchemaModel(), YACS::ENGINE::ElementaryNode::getSetOfInputPort(), YACS::ENGINE::ElementaryNode::getSetOfOutputPort(), YACS::HMI::SchemaItem::getSubject(), YACS::HMI::SchemaItem::parent(), and YASSERT.
|
slot |
Definition at line 264 of file TablePortsEdition.cxx.
References YACS::HMI::GenericGui::_guiEditor, DEBTRACE, YACS::HMI::GuiEditor::DeleteSubject(), YACS::HMI::QtGuiContext::getGMain(), YACS::HMI::Subject::getName(), YACS::HMI::Subject::getParent(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::QtGuiContext::getSchemaModel(), and YACS::HMI::SchemaItem::getSubject().
|
slot |
Definition at line 120 of file TablePortsEdition.cxx.
References _nbUp, DEBTRACE, and upOrDown().
|
slot |
Definition at line 227 of file TablePortsEdition.cxx.
References YACS::HMI::GenericGui::_guiEditor, _inPorts, _nbUp, _node, YACS::HMI::GuiEditor::CreateInputPort(), YACS::HMI::GuiEditor::CreateOutputPort(), DEBTRACE, YACS::HMI::CatalogWidget::getCatalogFromType(), YACS::HMI::GenericGui::getCatalogWidget(), YACS::HMI::GuiContext::getCurrentCatalog(), YACS::HMI::QtGuiContext::getGMain(), YACS::HMI::Subject::getName(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::SchemaItem::getSubject(), YACS::HMI::SubjectElementaryNode::OrderDataPorts(), and YASSERT.
Referenced by TablePortsEdition().
|
slot |
Definition at line 338 of file TablePortsEdition.cxx.
References _nbUp, and DEBTRACE.
Referenced by TablePortsEdition().
|
slot |
Definition at line 346 of file TablePortsEdition.cxx.
References DEBTRACE.
Referenced by TablePortsEdition().
|
virtual |
Definition at line 296 of file TablePortsEdition.cxx.
References DEBTRACE, YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::YState, YACS::HMI::YType, and YACS::HMI::YValue.
Referenced by YACS::HMI::EditionElementaryNode::setEditablePorts().
void TablePortsEdition::setNode | ( | SubjectElementaryNode * | node | ) |
Definition at line 115 of file TablePortsEdition.cxx.
References _node.
Referenced by YACS::HMI::EditionElementaryNode::synchronize().
|
protected |
move up or down the port in the list of ports. when isUp = 0, go down one step, when isUp = n>0, go up n steps.
Definition at line 138 of file TablePortsEdition.cxx.
References YACS::HMI::Scene::_autoComputeLinks, YACS::HMI::QtGuiContext::_mapOfSceneItem, DEBTRACE, YACS::HMI::Subject::getName(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::QtGuiContext::getSchemaModel(), YACS::HMI::SchemaItem::getSubject(), YACS::HMI::GuiContext::getSubjectProc(), YACS::HMI::SchemaItem::modelIndex(), YACS::HMI::SubjectElementaryNode::OrderDataPorts(), YACS::HMI::SchemaItem::parent(), YACS::HMI::SceneComposedNodeItem::rebuildLinks(), and YASSERT.
Referenced by on_pb_down_clicked(), and on_pb_up_clicked().
|
protected |
Definition at line 78 of file TablePortsEdition.hxx.
Referenced by oncb_insert_activated(), and TablePortsEdition().
|
protected |
Definition at line 80 of file TablePortsEdition.hxx.
Referenced by on_pb_down_clicked(), on_pb_insert_clicked(), on_pb_up_clicked(), oncb_insert_activated(), oncb_insert_popupHide(), and TablePortsEdition().
|
protected |
Definition at line 79 of file TablePortsEdition.hxx.
Referenced by oncb_insert_activated(), setNode(), and TablePortsEdition().