wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
RegisterBlobCommand Class Reference

Undo command that registers/unregisters a blob in the IC registry. More...

#include <Commands.h>

Inheritance diagram for RegisterBlobCommand:
[legend]

Public Member Functions

void redo () override
 RegisterBlobCommand (const QString &blobName, const QByteArray &data, Scene *scene, QUndoCommand *parent=nullptr)
void undo () override

Detailed Description

Undo command that registers/unregisters a blob in the IC registry.

Used with beginMacro/endMacro to pair blob registration with AddItemsCommand when creating new embedded ICs.

Definition at line 449 of file Commands.h.

Constructor & Destructor Documentation

◆ RegisterBlobCommand()

RegisterBlobCommand::RegisterBlobCommand ( const QString & blobName,
const QByteArray & data,
Scene * scene,
QUndoCommand * parent = nullptr )

Definition at line 1120 of file Commands.cpp.

Member Function Documentation

◆ redo()

void RegisterBlobCommand::redo ( )
override

Definition at line 1129 of file Commands.cpp.

◆ undo()

void RegisterBlobCommand::undo ( )
override

Definition at line 1134 of file Commands.cpp.


The documentation for this class was generated from the following files: