#include <SchemaInPortItem.hxx>
Public Member Functions | |
SchemaInPortItem (SchemaItem *parent, QString label, Subject *subject) | |
virtual void | update (GuiEvent event, int type, Subject *son) |
virtual Qt::ItemFlags | flags (const QModelIndex &index) |
virtual bool | dropMimeData (const QMimeData *data, Qt::DropAction action) |
virtual void | popupMenu (QWidget *caller, const QPoint &globalPos) |
Public Member Functions inherited from YACS::HMI::SchemaItem | |
SchemaItem (SchemaItem *parent, QString label, Subject *subject) | |
virtual | ~SchemaItem () |
virtual void | appendChild (SchemaItem *child) |
virtual void | removeChild (SchemaItem *child) |
virtual void | insertChild (int row, SchemaItem *child) |
virtual SchemaItem * | child (int row) |
virtual int | childCount () const |
virtual int | columnCount () const |
virtual QVariant | data (int column, int role) const |
virtual int | row () const |
virtual SchemaItem * | parent () |
virtual Subject * | getSubject () |
virtual void | select (bool isSelected) |
virtual void | toggleState () |
QModelIndex | modelIndex (int column=0) |
virtual ItemMimeData * | mimeData (ItemMimeData *mime) |
virtual void | reparent (SchemaItem *parent) |
virtual void | setCaseValue () |
used in node derived classes More... | |
bool | isEmphasized () |
void | setEmphasize (bool emphasize) |
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 () |
Protected Member Functions | |
virtual QVariant | editionWhatsThis (int column) const |
Protected Member Functions inherited from YACS::HMI::SchemaItem | |
virtual QVariant | editionToolTip (int column) const |
virtual QVariant | runToolTip (int column) const |
virtual QVariant | runWhatsThis (int column) const |
virtual QString | getMimeFormat () |
virtual void | setExecState (int execState) |
Protected Attributes | |
bool | _isDataStream |
Protected Attributes inherited from YACS::HMI::SchemaItem | |
QList< SchemaItem * > | _childItems |
QList< QVariant > | _itemData |
QList< QVariant > | _itemDeco |
QList< QVariant > | _itemForeground |
QList< QVariant > | _itemBackground |
QList< QVariant > | _itemCheckState |
QList< QVariant > | _itemToolTip |
QList< QVariant > | _itemWhatsThis |
QString | _label |
SchemaItem * | _parentItem |
Subject * | _subject |
int | _execState |
bool | _emphasized |
Protected Attributes inherited from YACS::HMI::GuiObserver | |
std::set< Subject * > | _subjectSet |
bool | _destructible |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::GuiObserver | |
static std::string | eventName (GuiEvent event) |
static void | setEventMap () |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
static std::map< int, std::string > | _eventNameMap |
Definition at line 29 of file SchemaInPortItem.hxx.
SchemaInPortItem::SchemaInPortItem | ( | SchemaItem * | parent, |
QString | label, | ||
Subject * | subject | ||
) |
column 1 = name, set in SchemaItem, column 2 = data type, never editable, column 3 = value
Definition at line 47 of file SchemaInPortItem.cxx.
References _isDataStream, YACS::HMI::SchemaItem::_itemData, YACS::HMI::SchemaItem::_itemDeco, YACS::HMI::SchemaItem::_itemForeground, YACS::ENGINE::InPort::edGetNumberOfLinks(), YACS::ENGINE::DataPort::edGetType(), YACS::ENGINE::InputPort::edIsManuallyInitialized(), YACS::ENGINE::DataPort::getAsString(), YACS::ENGINE::Port::getNode(), YACS::HMI::SubjectDataPort::getPort(), YACS::HMI::ProcInvoc::getTypeOfNode(), YACS::HMI::ProcInvoc::getTypeOfPort(), YACS::HMI::INPUTDATASTREAMPORT, YACS::HMI::INPUTPORT, YACS::ENGINE::TypeCode::name(), YACS::HMI::STUDYOUTNODE, YACS::HMI::YLabel, YACS::HMI::YType, and YACS::HMI::YValue.
|
virtual |
Reimplemented from YACS::HMI::SchemaItem.
Definition at line 254 of file SchemaInPortItem.cxx.
References YACS::HMI::SchemaItem::data(), DEBTRACE, YACS::HMI::ItemMimeData::getControl(), YACS::HMI::SubjectDataPort::getPort(), YACS::HMI::ItemMimeData::getSubject(), YACS::HMI::SchemaItem::getSubject(), YACS::HMI::ProcInvoc::getTypeOfPort(), YACS::HMI::INPUTDATASTREAMPORT, YACS::HMI::INPUTPORT, PMMLBasicsTestLauncher::ret, and YACS::HMI::SubjectDataPort::tryCreateLink().
|
protectedvirtual |
Reimplemented from YACS::HMI::SchemaItem.
Definition at line 294 of file SchemaInPortItem.cxx.
References _isDataStream, YACS::HMI::SchemaItem::_itemData, YACS::HMI::YLabel, YACS::HMI::YType, and YACS::HMI::YValue.
|
virtual |
Reimplemented from YACS::HMI::SchemaItem.
Definition at line 228 of file SchemaInPortItem.cxx.
References _isDataStream, YACS::HMI::SchemaItem::_subject, YACS::ENGINE::Port::getNode(), YACS::HMI::SubjectDataPort::getPort(), YACS::HMI::QtGuiContext::getQtCurrent(), and YACS::HMI::SchemaItem::parent().
|
virtual |
Reimplemented from YACS::HMI::SchemaItem.
Definition at line 288 of file SchemaInPortItem.cxx.
References gui.GraphViewer::m, and YACS::HMI::InPortMenu::popupMenu().
Reimplemented from YACS::HMI::SchemaItem.
Definition at line 119 of file SchemaInPortItem.cxx.
References YACS::HMI::SchemaItem::_itemData, YACS::HMI::SchemaItem::_itemForeground, YACS::HMI::SchemaItem::_subject, DEBTRACE, YACS::ENGINE::InPort::edGetNumberOfLinks(), YACS::ENGINE::DataPort::edGetType(), YACS::ENGINE::InputPort::edIsManuallyInitialized(), YACS::ENGINE::DataPort::getAsString(), YACS::HMI::SubjectDataPort::getExecValue(), YACS::ENGINE::Port::getNode(), YACS::HMI::SubjectDataPort::getPort(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::QtGuiContext::getSchemaModel(), YACS::HMI::ProcInvoc::getTypeOfNode(), YACS::HMI::ProcInvoc::getTypeOfPort(), YACS::HMI::SchemaItem::modelIndex(), YACS::ENGINE::TypeCode::name(), YACS::HMI::SchemaModel::setData(), YACS::HMI::SETVALUE, YACS::HMI::STUDYOUTNODE, YACS::HMI::SchemaItem::update(), YACS::HMI::UPDATE, YACS::HMI::UPDATEPROGRESS, YACS::HMI::YType, and YACS::HMI::YValue.
Referenced by gui.graph.MyCanvas::customEvent().
|
protected |
Definition at line 40 of file SchemaInPortItem.hxx.
Referenced by editionWhatsThis(), flags(), and SchemaInPortItem().