|
wiRedPanda
Logic Circuit Simulator
|
Undo command that removes/restores a blob in the IC registry. More...
#include <Commands.h>
Public Member Functions | |
| void | redo () override |
| RemoveBlobCommand (const QString &blobName, Scene *scene, QUndoCommand *parent=nullptr) | |
| void | undo () override |
Undo command that removes/restores a blob in the IC registry.
Inverse of RegisterBlobCommand — used with beginMacro to pair blob removal with DeleteItemsCommand when removing an embedded IC, so undo restores both the IC instances AND the blob they reference.
Definition at line 473 of file Commands.h.
| RemoveBlobCommand::RemoveBlobCommand | ( | const QString & | blobName, |
| Scene * | scene, | ||
| QUndoCommand * | parent = nullptr ) |
Definition at line 1143 of file Commands.cpp.
|
override |
Definition at line 1154 of file Commands.cpp.
|
override |
Definition at line 1159 of file Commands.cpp.