LibrePCB Developers Documentation
TextPropertiesDialog Class Referencefinal

The TextPropertiesDialog class. More...

#include <textpropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for TextPropertiesDialog:

Public Member Functions

 TextPropertiesDialog ()=delete
 
 TextPropertiesDialog (const TextPropertiesDialog &other)=delete
 
 TextPropertiesDialog (Text &text, UndoStack &undoStack, const QSet< const Layer *> &layers, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~TextPropertiesDialog () noexcept
 
void setReadOnly (bool readOnly) noexcept
 
TextPropertiesDialogoperator= (const TextPropertiesDialog &rhs)=delete
 

Private Member Functions

void on_buttonBox_clicked (QAbstractButton *button)
 
bool applyChanges () noexcept
 

Private Attributes

TextmText
 
UndoStackmUndoStack
 
QScopedPointer< Ui::TextPropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ TextPropertiesDialog() [1/3]

◆ TextPropertiesDialog() [2/3]

TextPropertiesDialog ( const TextPropertiesDialog other)
delete

◆ TextPropertiesDialog() [3/3]

TextPropertiesDialog ( Text text,
UndoStack undoStack,
const QSet< const Layer *> &  layers,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~TextPropertiesDialog()

~TextPropertiesDialog ( )
noexcept

Member Function Documentation

◆ setReadOnly()

void setReadOnly ( bool  readOnly)
noexcept
+ Here is the caller graph for this function:

◆ operator=()

TextPropertiesDialog& operator= ( const TextPropertiesDialog rhs)
delete

◆ on_buttonBox_clicked()

void on_buttonBox_clicked ( QAbstractButton *  button)
private
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyChanges()

bool applyChanges ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mText

Text& mText
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::TextPropertiesDialog> mUi
private

The documentation for this class was generated from the following files: