20 #ifndef LIBREPCB_CORE_NETLABEL_H 21 #define LIBREPCB_CORE_NETLABEL_H 26 #include "../serialization/serializableobjectlist.h" 27 #include "../types/angle.h" 28 #include "../types/point.h" 66 bool mirrored) noexcept;
94 return !(*
this == rhs);
110 static constexpr
const char* tagname =
"label";
Point mPosition
Definition: netlabel.h:100
bool operator==(const NetLabel &rhs) const noexcept
Definition: netlabel.cpp:130
Signal< NetLabel, Event > onEdited
Definition: netlabel.h:58
const Angle & getRotation() const noexcept
Definition: netlabel.h:73
Slot< NetLabel, Event > OnEditedSlot
Definition: netlabel.h:59
bool setMirrored(const bool mirrored) noexcept
Definition: netlabel.cpp:103
Definition: occmodel.cpp:76
~NetLabel() noexcept
Definition: netlabel.cpp:66
const Point & getPosition() const noexcept
Definition: netlabel.h:72
Uuid mUuid
Definition: netlabel.h:99
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:76
Event
Definition: netlabel.h:52
Definition: netlabel.h:109
bool setUuid(const Uuid &uuid) noexcept
Definition: netlabel.cpp:73
The NetLabel class represents a net text label of a schematic.
Definition: netlabel.h:47
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5...
Definition: point.h:78
Angle mRotation
Definition: netlabel.h:101
NetLabel & operator=(const NetLabel &rhs) noexcept
Definition: netlabel.cpp:138
bool getMirrored() const noexcept
Definition: netlabel.h:74
The Signal class is used to emit signals on non-QObject derived classes.
Definition: signalslot.h:65
bool setPosition(const Point &position) noexcept
Definition: netlabel.cpp:83
bool mMirrored
Definition: netlabel.h:102
void serialize(SExpression &root) const
Serialize into librepcb::SExpression node.
Definition: netlabel.cpp:117
const Uuid & getUuid() const noexcept
Definition: netlabel.h:71
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:56
The Slot class is used to receive signals from non-QObject derived classes.
Definition: signalslot.h:36
bool operator!=(const NetLabel &rhs) const noexcept
Definition: netlabel.h:93
The SExpression class.
Definition: sexpression.h:66
bool setRotation(const Angle &rotation) noexcept
Definition: netlabel.cpp:93