|
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 1141 of file Commands.cpp.
|
override |
Definition at line 1152 of file Commands.cpp.
|
override |
Definition at line 1157 of file Commands.cpp.