40 using namespace YACS::ENGINE;
41 using namespace YACS::HMI;
79 DEBTRACE(
"SchemaOutPortItem::update");
81 QModelIndex index = QModelIndex();
126 Qt::ItemFlags pflag = Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsDropEnabled;
128 pflag = pflag | Qt::ItemIsDragEnabled;
132 Qt::ItemFlags flagEdit = 0;
133 int column = index.column();
141 if (dynamic_cast<DataNode*>(parent) || dynamic_cast<InlineNode*>(parent))
142 flagEdit = Qt::ItemIsEditable;
151 flagEdit = Qt::ItemIsEditable;
154 return pflag | flagEdit;
165 return "yacs/subjectOutPort";