20#ifndef LIBREPCB_EDITOR_CMDDEVICEINSTANCEEDITALL_H
21#define LIBREPCB_EDITOR_CMDDEVICEINSTANCEEDITALL_H
26#include "../../undocommandgroup.h"
41class CmdBoardStrokeTextEdit;
42class CmdDeviceInstanceEdit;
61 void rotate(
const Angle& angle,
const Point& center,
bool immediate)
noexcept;
62 void setMirrored(
bool mirrored,
int innerLayerCount,
bool immediate);
63 void mirror(
const Point& center, Qt::Orientation orientation,
64 int innerLayerCount,
bool immediate);
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
The BI_Device class.
Definition bi_device.h:57
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The CmdDeviceInstanceEditAll class.
Definition cmddeviceinstanceeditall.h:51
void setPosition(const Point &pos, bool immediate) noexcept
Definition cmddeviceinstanceeditall.cpp:62
void translate(const Point &deltaPos, bool immediate) noexcept
Definition cmddeviceinstanceeditall.cpp:68
QVector< CmdBoardStrokeTextEdit * > mTextEditCmds
Definition cmddeviceinstanceeditall.h:69
CmdDeviceInstanceEdit * mDevEditCmd
Definition cmddeviceinstanceeditall.h:68
void setMirrored(bool mirrored, int innerLayerCount, bool immediate)
Definition cmddeviceinstanceeditall.cpp:96
void mirror(const Point ¢er, Qt::Orientation orientation, int innerLayerCount, bool immediate)
Definition cmddeviceinstanceeditall.cpp:109
~CmdDeviceInstanceEditAll() noexcept
Definition cmddeviceinstanceeditall.cpp:55
void setLocked(bool locked) noexcept
Definition cmddeviceinstanceeditall.cpp:120
void rotate(const Angle &angle, const Point ¢er, bool immediate) noexcept
Definition cmddeviceinstanceeditall.cpp:87
void setRotation(const Angle &angle, bool immediate) noexcept
Definition cmddeviceinstanceeditall.cpp:77
The CmdDeviceInstanceEdit class.
Definition cmddeviceinstanceedit.h:53
The UndoCommandGroup class makes it possible to pack multiple undo commands together (it acts as a pa...
Definition undocommandgroup.h:44
Definition occmodel.cpp:76