20#ifndef LIBREPCB_EDITOR_CMDNETSIGNALEDIT_H
21#define LIBREPCB_EDITOR_CMDNETSIGNALEDIT_H
26#include "../../undocommand.h"
The Circuit class represents all electrical connections in a project (drawn in the schematics)
Definition circuit.h:70
The NetSignal class.
Definition netsignal.h:50
The CmdNetSignalSetName class.
Definition cmdnetsignaledit.h:49
void performRedo() override
Redo the command.
Definition cmdnetsignaledit.cpp:79
Circuit & mCircuit
Definition cmdnetsignaledit.h:73
CircuitIdentifier mOldName
Definition cmdnetsignaledit.h:77
bool mOldIsAutoName
Definition cmdnetsignaledit.h:79
void performUndo() override
Undo the command.
Definition cmdnetsignaledit.cpp:75
bool mNewIsAutoName
Definition cmdnetsignaledit.h:80
void setName(const CircuitIdentifier &name, bool isAutoName) noexcept
Definition cmdnetsignaledit.cpp:58
NetSignal & mNetSignal
Definition cmdnetsignaledit.h:74
~CmdNetSignalEdit() noexcept
Definition cmdnetsignaledit.cpp:51
bool performExecute() override
Execute the command the first time.
Definition cmdnetsignaledit.cpp:69
CircuitIdentifier mNewName
Definition cmdnetsignaledit.h:78
The UndoCommand class represents a command which you can undo/redo.
Definition undocommand.h:46
Definition occmodel.cpp:76
type_safe::constrained_type< QString, CircuitIdentifierConstraint, CircuitIdentifierVerifier > CircuitIdentifier
Definition circuitidentifier.h:95