The CmdComponentSignalEdit class.
More...
#include <cmdcomponentsignaledit.h>
◆ CmdComponentSignalEdit() [1/3]
◆ CmdComponentSignalEdit() [2/3]
◆ CmdComponentSignalEdit() [3/3]
◆ ~CmdComponentSignalEdit()
◆ setName()
◆ setRole()
◆ setForcedNetName()
void setForcedNetName |
( |
const QString & |
name | ) |
|
|
noexcept |
◆ setIsRequired()
void setIsRequired |
( |
bool |
required | ) |
|
|
noexcept |
◆ setIsNegated()
void setIsNegated |
( |
bool |
negated | ) |
|
|
noexcept |
◆ setIsClock()
void setIsClock |
( |
bool |
clock | ) |
|
|
noexcept |
◆ operator=()
◆ performExecute()
Execute the command the first time.
- Note
- This method must be implemented in all derived classes. If the first time execution is exactly identical to an "redo" action, you can simple call librepcb::editor::UndoCommand::performRedo() in the implementation of this method.
- Return values
-
true | If the command has done some changes |
false | If the command has done nothing (the command can be deleted) |
Implements UndoCommand.
◆ performUndo()
Undo the command.
- Note
- This method must be implemented in all derived classes.
Implements UndoCommand.
◆ performRedo()
Redo the command.
- Note
- This method must be implemented in all derived classes.
Implements UndoCommand.
◆ mSignal
◆ mOldName
◆ mNewName
◆ mOldRole
◆ mNewRole
◆ mOldForcedNetName
QString mOldForcedNetName |
|
private |
◆ mNewForcedNetName
QString mNewForcedNetName |
|
private |
◆ mOldIsRequired
◆ mNewIsRequired
◆ mOldIsNegated
◆ mNewIsNegated
◆ mOldIsClock
◆ mNewIsClock
The documentation for this class was generated from the following files: