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 Length class is used to represent a length (for example 12.75 millimeters)
Definition length.h:82
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 NetSignal class.
Definition netsignal.h:50
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:49
bool getMirrored() const noexcept
Definition si_netlabel.h:74
const Angle & getRotation() const noexcept
Definition si_netlabel.h:73
SI_NetLabel(const SI_NetLabel &other)=delete
Signal< SI_NetLabel, Event > onEdited
Definition si_netlabel.h:61
void setMirrored(const bool mirrored) noexcept
Definition si_netlabel.cpp:84
NetSignal & getNetSignalOfNetSegment() const noexcept
Definition si_netlabel.cpp:59
Point mAnchorPosition
Definition si_netlabel.h:103
NetLabel mNetLabel
Definition si_netlabel.h:100
Event
Definition si_netlabel.h:54
QMetaObject::Connection mNameChangedConnection
Definition si_netlabel.h:96
void removeFromSchematic() override
Definition si_netlabel.cpp:104
SI_NetSegment & mNetSegment
Definition si_netlabel.h:99
void addToSchematic() override
Definition si_netlabel.cpp:94
const NetLabel & getNetLabel() const noexcept
Definition si_netlabel.h:76
const Point & getPosition() const noexcept
Definition si_netlabel.h:72
Slot< SI_NetLabel, Event > OnEditedSlot
Definition si_netlabel.h:62
void setRotation(const Angle &rotation) noexcept
Definition si_netlabel.cpp:78
const Uuid & getUuid() const noexcept
Definition si_netlabel.h:71
const Point & getAnchorPosition() const noexcept
Definition si_netlabel.h:75
void updateAnchor() noexcept
Definition si_netlabel.cpp:112
~SI_NetLabel() noexcept
Definition si_netlabel.cpp:52
SI_NetSegment & getNetSegment() const noexcept
Definition si_netlabel.h:77
void setPosition(const Point &position) noexcept
Definition si_netlabel.cpp:71
Length getApproximateWidth() noexcept
Definition si_netlabel.cpp:63
The SI_NetSegment class.
Definition si_netsegment.h:53
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:76