20#ifndef LIBREPCB_CORE_SI_NETLABEL_H
21#define LIBREPCB_CORE_SI_NETLABEL_H
26#include "../../../geometry/netlabel.h"
27#include "../../../utils/signalslot.h"
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition angle.h:76
The NetLabel class represents a net text label of a schematic.
Definition netlabel.h:47
bool getMirrored() const noexcept
Definition netlabel.h:74
const Angle & getRotation() const noexcept
Definition netlabel.h:73
const Point & getPosition() const noexcept
Definition netlabel.h:72
const Uuid & getUuid() const noexcept
Definition netlabel.h:71
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The Schematic Item Base (SI_Base) class.
Definition si_base.h:45
The SI_NetLabel class.
Definition si_netlabel.h:48
bool getMirrored() const noexcept
Definition si_netlabel.h:73
const Angle & getRotation() const noexcept
Definition si_netlabel.h:72
SI_NetLabel(const SI_NetLabel &other)=delete
Signal< SI_NetLabel, Event > onEdited
Definition si_netlabel.h:60
void setMirrored(const bool mirrored) noexcept
Definition si_netlabel.cpp:72
Point mAnchorPosition
Definition si_netlabel.h:100
NetLabel mNetLabel
Definition si_netlabel.h:97
Event
Definition si_netlabel.h:53
QMetaObject::Connection mNameChangedConnection
Definition si_netlabel.h:93
void removeFromSchematic() override
Definition si_netlabel.cpp:92
SI_NetSegment & mNetSegment
Definition si_netlabel.h:96
void addToSchematic() override
Definition si_netlabel.cpp:82
const NetLabel & getNetLabel() const noexcept
Definition si_netlabel.h:75
const Point & getPosition() const noexcept
Definition si_netlabel.h:71
Slot< SI_NetLabel, Event > OnEditedSlot
Definition si_netlabel.h:61
void setRotation(const Angle &rotation) noexcept
Definition si_netlabel.cpp:66
const Uuid & getUuid() const noexcept
Definition si_netlabel.h:70
const Point & getAnchorPosition() const noexcept
Definition si_netlabel.h:74
void updateAnchor() noexcept
Definition si_netlabel.cpp:100
~SI_NetLabel() noexcept
Definition si_netlabel.cpp:52
SI_NetSegment & getNetSegment() const noexcept
Definition si_netlabel.h:76
void setPosition(const Point &position) noexcept
Definition si_netlabel.cpp:59
The SI_NetSegment class.
Definition si_netsegment.h:55
The Signal class is used to emit signals on non-QObject derived classes.
Definition signalslot.h:65
The Slot class is used to receive signals from non-QObject derived classes.
Definition signalslot.h:170
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
Definition occmodel.cpp:77