20#ifndef LIBREPCB_EDITOR_CMDSCHEMATICBUSSEGMENTREMOVE_H
21#define LIBREPCB_EDITOR_CMDSCHEMATICBUSSEGMENTREMOVE_H
26#include "../../undocommand.h"
The SI_BusSegment class.
Definition si_bussegment.h:52
The Schematic class represents one schematic page of a project and is always part of a circuit.
Definition schematic.h:81
The CmdSchematicBusSegmentRemove class.
Definition cmdschematicbussegmentremove.h:47
void performRedo() override
Redo the command.
Definition cmdschematicbussegmentremove.cpp:64
SI_BusSegment & mSegment
Definition cmdschematicbussegmentremove.h:68
Schematic & mSchematic
Definition cmdschematicbussegmentremove.h:67
void performUndo() override
Undo the command.
Definition cmdschematicbussegmentremove.cpp:60
~CmdSchematicBusSegmentRemove() noexcept
Definition cmdschematicbussegmentremove.cpp:47
bool performExecute() override
Execute the command the first time.
Definition cmdschematicbussegmentremove.cpp:54
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:77