20#ifndef LIBREPCB_CORE_SI_TEXT_H
21#define LIBREPCB_CORE_SI_TEXT_H
26#include "../../../geometry/text.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 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_Symbol class.
Definition si_symbol.h:54
The SI_Text class represents a text label in a schematic.
Definition si_text.h:48
const Angle & getRotation() const noexcept
Definition si_text.h:70
void updateText() noexcept
Definition si_text.cpp:125
void textEdited(const Text &text, Text::Event event) noexcept
Definition si_text.cpp:105
Text & getTextObj() noexcept
Definition si_text.h:72
Signal< SI_Text, Event > onEdited
Definition si_text.h:58
Event
Definition si_text.h:53
Slot< SI_Text, Event > OnEditedSlot
Definition si_text.h:59
void setSymbol(SI_Symbol *symbol) noexcept
Definition si_text.cpp:67
QString mText
Definition si_text.h:93
void removeFromSchematic() override
Definition si_text.cpp:94
SI_Text & operator=(const SI_Text &rhs)=delete
SI_Symbol * getSymbol() const noexcept
Definition si_text.h:76
void addToSchematic() override
Definition si_text.cpp:87
const QString & getText() const noexcept
Definition si_text.h:71
QPointer< SI_Symbol > mSymbol
Definition si_text.h:89
Text::OnEditedSlot mOnTextEditedSlot
Definition si_text.h:96
const Point & getPosition() const noexcept
Definition si_text.h:69
~SI_Text() noexcept
Definition si_text.cpp:60
const Uuid & getUuid() const noexcept
Definition si_text.h:68
Text mTextObj
Definition si_text.h:90
const Text & getTextObj() const noexcept
Definition si_text.h:73
SI_Text(const SI_Text &other)=delete
The Schematic class represents one schematic page of a project and is always part of a circuit.
Definition schematic.h:74
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 Text class.
Definition text.h:48
const Angle & getRotation() const noexcept
Definition text.h:79
Event
Definition text.h:53
const Point & getPosition() const noexcept
Definition text.h:78
const Uuid & getUuid() const noexcept
Definition text.h:76
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition uuid.h:56
Definition occmodel.cpp:76