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