20 #ifndef LIBREPCB_EDITOR_CMDREMOVESELECTEDBOARDITEMS_H 21 #define LIBREPCB_EDITOR_CMDREMOVESELECTEDBOARDITEMS_H 26 #include "../../undocommand.h" 42 class BoardGraphicsScene;
43 class CmdRemoveBoardItems;
56 bool includeLockedItems) noexcept;
QScopedPointer< CmdRemoveBoardItems > mWrappedCommand
Definition: cmdremoveselectedboarditems.h:72
~CmdRemoveSelectedBoardItems() noexcept
Definition: cmdremoveselectedboarditems.cpp:52
CmdRemoveSelectedBoardItems(BoardGraphicsScene &scene, bool includeLockedItems) noexcept
Definition: cmdremoveselectedboarditems.cpp:45
Definition: occmodel.cpp:77
void performRedo() override
Redo the command.
Definition: cmdremoveselectedboarditems.cpp:93
bool mIncludeLockedItems
Definition: cmdremoveselectedboarditems.h:71
bool performExecute() override
Execute the command the first time.
Definition: cmdremoveselectedboarditems.cpp:59
BoardGraphicsScene & mScene
Definition: cmdremoveselectedboarditems.h:70
The UndoCommand class represents a command which you can undo/redo.
Definition: undocommand.h:46
The BoardGraphicsScene class.
Definition: boardgraphicsscene.h:77
void performUndo() override
Undo the command.
Definition: cmdremoveselectedboarditems.cpp:89
The CmdRemoveSelectedBoardItems class.
Definition: cmdremoveselectedboarditems.h:52