20 #ifndef LIBREPCB_EDITOR_CMDSCHEMATICREMOVE_H 21 #define LIBREPCB_EDITOR_CMDSCHEMATICREMOVE_H 26 #include "../../undocommand.h" The CmdSchematicRemove class.
Definition: cmdschematicremove.h:47
Definition: occmodel.cpp:77
Project & mProject
Definition: cmdschematicremove.h:67
void performUndo() override
Undo the command.
Definition: cmdschematicremove.cpp:63
The Schematic class represents one schematic page of a project and is always part of a circuit...
Definition: schematic.h:74
CmdSchematicRemove(Project &project, Schematic &schematic) noexcept
Definition: cmdschematicremove.cpp:40
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
Schematic & mSchematic
Definition: cmdschematicremove.h:68
bool performExecute() override
Execute the command the first time.
Definition: cmdschematicremove.cpp:55
int mPageIndex
Definition: cmdschematicremove.h:69
The Project class represents a whole (opened) project with all its content.
Definition: project.h:71
~CmdSchematicRemove() noexcept
Definition: cmdschematicremove.cpp:48
void performRedo() override
Redo the command.
Definition: cmdschematicremove.cpp:67