8 QMetaEnum me = QMetaEnum::fromType<ObjectType>();
17 QMetaEnum me = QMetaEnum::fromType<ObjectType>();
101 const char* cType =
"-mgn{Lxp";
116 if (srId.isNull() || srId.isEmpty())
return;
118 if (srTp.isNull() || srTp.isEmpty())
return;
120 mId = srId.toInt(&ok);
void readFromXml(QXmlStreamReader &xmlIn)
void writeToXml(QXmlStreamWriter &xmlOut) const
QString debugDump() const
static ObjectType fromHalType(hal::ItemType itp)
static SelectionRelay::ItemType toSelectionType(ObjectType t)
static ObjectType fromSelectionType(SelectionRelay::ItemType itp)
static QString toString(ObjectType t)
static ObjectType fromNodeType(Node::NodeType ntp)
static Node::NodeType toNodeType(ObjectType t)
static ObjectType fromString(const QString &s)
static hal::ItemType toHalType(ObjectType t)
ItemType
The ItemType enum provides the enum type to classify graphic items into Modules, Gates or Nets....
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QString number(int n, int base)
QStringRef value(const QString &namespaceUri, const QString &name) const const
QXmlStreamAttributes attributes() const const
void writeAttribute(const QString &qualifiedName, const QString &value)