20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICPOLYGONREMOVE_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICPOLYGONREMOVE_H
26#include "../../undocommand.h"
The SI_Polygon class represents a polygon in a schematic.
Definition si_polygon.h:47
The CmdSchematicPolygonRemove class.
Definition cmdschematicpolygonremove.h:47
void performRedo() override
Redo the command.
Definition cmdschematicpolygonremove.cpp:62
SI_Polygon & mPolygon
Definition cmdschematicpolygonremove.h:70
void performUndo() override
Undo the command.
Definition cmdschematicpolygonremove.cpp:58
CmdSchematicPolygonRemove()=delete
~CmdSchematicPolygonRemove() noexcept
Definition cmdschematicpolygonremove.cpp:45
CmdSchematicPolygonRemove(const CmdSchematicPolygonRemove &other)=delete
bool performExecute() override
Execute the command the first time.
Definition cmdschematicpolygonremove.cpp:52
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76