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, QList< GraphicsLayer *> layers, QWidget *parent=nullptr) noexcept
 
 ~TextPropertiesDialog () noexcept
 
TextPropertiesDialogoperator= (const TextPropertiesDialog &rhs)=delete
 

Private Member Functions

void on_buttonBox_clicked (QAbstractButton *button)
 
bool applyChanges () noexcept
 
void addLayersToCombobox (const QList< QString > &names) noexcept
 
void selectLayerNameInCombobox (const QString &name) 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,
QList< GraphicsLayer *>  layers,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~TextPropertiesDialog()

~TextPropertiesDialog ( )
noexcept

Member Function Documentation

◆ 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:

◆ addLayersToCombobox()

void addLayersToCombobox ( const QList< QString > &  names)
privatenoexcept

◆ selectLayerNameInCombobox()

void selectLayerNameInCombobox ( const QString &  name)
privatenoexcept

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: