LibrePCB Developers Documentation
|
The SI_Text class represents a text label in a schematic. More...
#include <si_text.h>
Public Types | |
enum class | Event |
typedef Slot< SI_Text, Event > | OnEditedSlot |
Public Member Functions | |
SI_Text ()=delete | |
SI_Text (const SI_Text &other)=delete | |
SI_Text (Schematic &schematic, const Text &text) | |
~SI_Text () noexcept | |
const Uuid & | getUuid () const noexcept |
const Point & | getPosition () const noexcept |
const Angle & | getRotation () const noexcept |
const QString & | getText () const noexcept |
Text & | getTextObj () noexcept |
const Text & | getTextObj () const noexcept |
SI_Symbol * | getSymbol () const noexcept |
void | setSymbol (SI_Symbol *symbol) noexcept |
void | addToSchematic () override |
void | removeFromSchematic () override |
SI_Text & | operator= (const SI_Text &rhs)=delete |
Public Member Functions inherited from SI_Base | |
SI_Base ()=delete | |
SI_Base (const SI_Base &other)=delete | |
SI_Base (Schematic &schematic) noexcept | |
virtual | ~SI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Schematic & | getSchematic () const noexcept |
virtual bool | isAddedToSchematic () const noexcept |
virtual void | addToSchematic () |
virtual void | removeFromSchematic () |
SI_Base & | operator= (const SI_Base &rhs)=delete |
Public Attributes | |
Signal< SI_Text, Event > | onEdited |
Private Member Functions | |
void | textEdited (const Text &text, Text::Event event) noexcept |
void | updateText () noexcept |
Private Attributes | |
QPointer< SI_Symbol > | mSymbol |
Text | mTextObj |
QString | mText |
Text::OnEditedSlot | mOnTextEditedSlot |
Additional Inherited Members | |
Protected Attributes inherited from SI_Base | |
Schematic & | mSchematic |
The SI_Text class represents a text label in a schematic.
typedef Slot<SI_Text, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
overridevirtual |
Reimplemented from SI_Base.
|
overridevirtual |
Reimplemented from SI_Base.
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |