The CmdBoardPlaneEdit class.
More...
#include <cmdboardplaneedit.h>
◆ CmdBoardPlaneEdit()
◆ ~CmdBoardPlaneEdit()
◆ translate()
void translate |
( |
const Point & |
deltaPos, |
|
|
bool |
immediate |
|
) |
| |
|
noexcept |
◆ snapToGrid()
void snapToGrid |
( |
const PositiveLength & |
gridInterval, |
|
|
bool |
immediate |
|
) |
| |
|
noexcept |
◆ rotate()
void rotate |
( |
const Angle & |
angle, |
|
|
const Point & |
center, |
|
|
bool |
immediate |
|
) |
| |
|
noexcept |
◆ mirror()
void mirror |
( |
const Point & |
center, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
innerLayerCount, |
|
|
bool |
immediate |
|
) |
| |
|
noexcept |
◆ setOutline()
void setOutline |
( |
const Path & |
outline, |
|
|
bool |
immediate |
|
) |
| |
|
noexcept |
◆ setLayer()
void setLayer |
( |
const Layer & |
layer, |
|
|
bool |
immediate |
|
) |
| |
|
noexcept |
◆ setNetSignal()
◆ setMinWidth()
◆ setMinClearance()
◆ setConnectStyle()
◆ setThermalGap()
◆ setThermalSpokeWidth()
◆ setPriority()
void setPriority |
( |
int |
priority | ) |
|
|
noexcept |
◆ setKeepIslands()
void setKeepIslands |
( |
bool |
keep | ) |
|
|
noexcept |
◆ setLocked()
void setLocked |
( |
bool |
locked | ) |
|
|
noexcept |
◆ 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.
◆ mPlane
◆ mOldOutline
◆ mNewOutline
◆ mOldLayer
◆ mNewLayer
◆ mOldNetSignal
◆ mNewNetSignal
◆ mOldMinWidth
◆ mNewMinWidth
◆ mOldMinClearance
◆ mNewMinClearance
◆ mOldConnectStyle
◆ mNewConnectStyle
◆ mOldThermalGap
◆ mNewThermalGap
◆ mOldThermalSpokeWidth
◆ mNewThermalSpokeWidth
◆ mOldPriority
◆ mNewPriority
◆ mOldKeepIslands
◆ mNewKeepIslands
◆ mOldLocked
◆ mNewLocked
The documentation for this class was generated from the following files: