34 #include <QJsonObject>
410 return mSpecialUpdate;
429 return mExclusiveModuleId;
471 void handleLayouterFinished();
472 void handleStyleChanged(
int istyle);
473 void handleExclusiveModuleLost(
u32 old_id);
474 void handleModuleNameChanged(
Module* m);
477 void evaluateChanges();
480 void requireSceneUpdate();
481 void startSceneUpdate();
482 bool testIfAffectedInternal(
const u32 id,
const u32* moduleId,
const u32* gateId);
483 void removeModuleContents(
const u32 moduleId);
506 u32 mUserUpdateCount;
508 bool mUnappliedChanges;
509 bool mSceneUpdateRequired;
510 bool mSceneUpdateInProgress;
519 u32 mExclusiveModuleId;
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 refreshModule(const u32 moduleId)
void showComments(const Node &nd)
void exclusiveModuleCheck()
bool readFromFile(const QJsonObject &json)
Node getNetSource(const Net *n) const
bool isShowingModuleExclusively()
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 updatePlacement(const GridPlacement &plc)
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