20#ifndef LIBREPCB_EDITOR_CMDASSEMBLYVARIANTREMOVE_H
21#define LIBREPCB_EDITOR_CMDASSEMBLYVARIANTREMOVE_H
26#include "../../undocommand.h"
54 std::shared_ptr<AssemblyVariant> av)
noexcept;
The AssemblyVariant class.
Definition assemblyvariant.h:44
The Circuit class represents all electrical connections in a project (drawn in the schematics)
Definition circuit.h:70
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
The CmdAssemblyVariantRemove class.
Definition cmdassemblyvariantremove.h:48
void performRedo() override
Redo the command.
Definition cmdassemblyvariantremove.cpp:94
QList< std::pair< Uuid, int > > mComponentAssemblyOptions
Definition cmdassemblyvariantremove.h:74
Circuit & mCircuit
Definition cmdassemblyvariantremove.h:72
CmdAssemblyVariantRemove()=delete
~CmdAssemblyVariantRemove() noexcept
Definition cmdassemblyvariantremove.cpp:50
int mIndex
Definition cmdassemblyvariantremove.h:75
void performUndo() override
Undo the command.
Definition cmdassemblyvariantremove.cpp:76
std::shared_ptr< AssemblyVariant > mAssemblyVariant
Definition cmdassemblyvariantremove.h:73
bool performExecute() override
Execute the command the first time.
Definition cmdassemblyvariantremove.cpp:57
CmdAssemblyVariantRemove(const CmdAssemblyVariantRemove &other)=delete
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76