57 if (xmlIn.
name() ==
"modules")
59 else if (xmlIn.
name() ==
"gates")
61 else if (xmlIn.
name() ==
"nets")
63 else if (xmlIn.
name() ==
"pins")
82 for (
u32 id : mModules)
97 ctx->
remove(mModules, mGates);
107 for (
u32 id : mModules)
109 for (
u32 id : mGates)
Adds an item to a module or grouping.
void setPlacementHint(PlacementHint hint)
UserActionFactory for ActionRemoveItemsFromObject.
static ActionRemoveItemsFromObjectFactory * sFactory
ActionRemoveItemsFromObjectFactory()
UserAction * newAction() const
Removes an item from a Module or Grouping.
void addToHash(QCryptographicHash &cryptoHash) const override
void writeToXml(QXmlStreamWriter &xmlOut) const override
void readFromXml(QXmlStreamReader &xmlIn) override
QString tagname() const override
Logical container for modules, gates, and nets.
void remove(const QSet< u32 > &modules, const QSet< u32 > &gates)
GraphLayouter * getLayouter() const
GraphContext * getContextById(u32 id) const
NetLayoutPoint positonForNode(const Node &nd) const
bool remove_gate_by_id(const u32 gate_id)
bool remove_module_by_id(const u32 module_id)
bool remove_net_by_id(const u32 net_id)
Grouping * get_grouping_by_id(u32 grouping_id) const
The Node class object represents a module or a gate.
The PlacementHint class object provides hints for the layouter how new box objects are placed on a vi...
void addGridPosition(const Node &nd, const QPoint &p)
The UserActionFactory is the abstract base class for registration.
The UserAction class is the abstract base class for user interactions.
static QString setToText(const QSet< u32 > &set)
static QSet< u32 > setFromText(const QString &s)
virtual void setObject(const UserActionObject &obj)
UserActionObjectType::ObjectType type() const
GraphContextManager * gGraphContextManager
void addData(const char *data, int length)
bool isEmpty() const const
QStringRef name() const const
QString readElementText(QXmlStreamReader::ReadElementTextBehaviour behaviour)
bool readNextStartElement()
void writeTextElement(const QString &qualifiedName, const QString &text)