LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( const TextPropertiesDialog other)
delete
TextPropertiesDialog ( Text text,
UndoStack undoStack,
QList< GraphicsLayer * >  layers,
QWidget *  parent = nullptr 
)
noexcept

+ Here is the call graph for this function:

~TextPropertiesDialog ( )
noexcept

Member Function Documentation

TextPropertiesDialog& operator= ( const TextPropertiesDialog rhs)
delete
void on_buttonBox_clicked ( QAbstractButton *  button)
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool applyChanges ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Member Data Documentation

Text& mText
private
UndoStack& mUndoStack
private
QScopedPointer<Ui::TextPropertiesDialog> mUi
private

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