34 #include <QJsonObject>
406 return mSpecialUpdate;
425 return mExclusiveModuleId;
467 void handleLayouterFinished();
468 void handleStyleChanged(
int istyle);
469 void handleExclusiveModuleLost(
u32 old_id);
470 void handleModuleNameChanged(
Module* m);
473 void evaluateChanges();
476 void requireSceneUpdate();
477 void startSceneUpdate();
478 bool testIfAffectedInternal(
const u32 id,
const u32* moduleId,
const u32* gateId);
479 void removeModuleContents(
const u32 moduleId);
502 u32 mUserUpdateCount;
504 bool mUnappliedChanges;
505 bool mSceneUpdateRequired;
506 bool mSceneUpdateInProgress;
515 u32 mExclusiveModuleId;
Apache License January AND DISTRIBUTION Definitions License shall mean the terms and conditions for and distribution as defined by Sections through of this document Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License Legal Entity shall mean the union of the acting entity and all other entities that control are controlled by or are under common control with that entity For the purposes of this definition control direct or to cause the direction or management of such whether by contract or including but not limited to software source documentation and configuration files Object form shall mean any form resulting from mechanical transformation or translation of a Source including but not limited to compiled object generated and conversions to other media types Work shall mean the work of whether in Source or Object made available under the as indicated by a copyright notice that is included in or attached to the whether in Source or Object that is based or other modifications as a an original work of authorship For the purposes of this Derivative Works shall not include works that remain separable from
Logical container for modules, gates, and nets.
bool isModuleUnfolded(const u32 moduleId) const
bool isGateUnfolded(u32 gateId) const
void remove(const QSet< u32 > &modules, const QSet< u32 > &gates)
void setSpecialUpdate(bool state)
void writeToFile(QJsonObject &json, int parentId)
u32 getExclusiveModuleId() const
void unfoldModule(const u32 id, const PlacementHint &plc)
void showComments(const Node &nd)
void exclusiveModuleCheck()
bool readFromFile(const QJsonObject &json)
Node getNetSource(const Net *n) const
bool isShowingModuleExclusively()
void moveNodeAction(const QPoint &from, const QPoint &to)
bool isShowingFoldedTopModule() const
bool isShowingModule(const u32 id) const
void setExclusiveModuleId(u32 id, bool emitSignal=true)
void add(const QSet< u32 > &modules, const QSet< u32 > &gates, PlacementHint placement=PlacementHint())
void layoutProgress(int percent) const
Node getNetDestination(const Net *n) const
const QSet< u32 > & gates() const
const QSet< u32 > & modules() const
bool getSpecialUpdate() const
void testIfAffected(const u32 id, const u32 *moduleId, const u32 *gateId)
void setParentWidget(GraphWidget *gw)
Node nodeForGate(const u32 id) const
void exclusiveModuleLost(u32 old_id)
void scheduleSceneUpdate()
void setScheduleRemove(const QSet< u32 > &mods, const QSet< u32 > &gats)
void setShader(GraphShader *shader)
bool isScheduledRemove(const Node &nd)
QDateTime getTimestamp() const
GraphLayouter * getLayouter() const
GraphContext(u32 id_, const QString &name, QObject *parent=nullptr)
bool willBeEmptied() const
QString getNameWithDirtyState() const
void setLayouter(GraphLayouter *layouter)
const QSet< u32 > & nets() const
bool isShowingNetSource(const u32 mNetId) const
bool sceneUpdateInProgress() const
bool isShowingNetDestination(const u32 mNetId) const
void getModuleChildrenRecursively(const u32 moduleId, QSet< u32 > *gates, QSet< u32 > *modules) const
User interface to manage all GraphContexts.
Base class for all specific layouters.
Base class to store and update visual information about the graph.
Container for a GraphGraphicsView containing gates, nets, and modules.
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...
QObject * parent() const const