8 QMetaEnum me = QMetaEnum::fromType<ObjectType>();
17 QMetaEnum me = QMetaEnum::fromType<ObjectType>();
101 const char* cType =
"-mgn{Lxp";
120 mId = srId.
toInt(&ok);
122 mType = UserActionObjectType::fromString(srTp.
toString());
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 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)
bool isEmpty() const const
bool isNull() const const
int toInt(bool *ok, int base) const const
QString toString() const const
QStringRef value(const QString &namespaceUri, const QString &name) const const
QXmlStreamAttributes attributes() const const
void writeAttribute(const QString &qualifiedName, const QString &value)