LibrePCB Developers Documentation
StrokeTextPropertiesDialog Class Referencefinal

The StrokeTextPropertiesDialog class. More...

#include <stroketextpropertiesdialog.h>

Inherits QDialog.

+ Collaboration diagram for StrokeTextPropertiesDialog:

Public Member Functions

 StrokeTextPropertiesDialog ()=delete
 
 StrokeTextPropertiesDialog (const StrokeTextPropertiesDialog &other)=delete
 
 StrokeTextPropertiesDialog (StrokeText &text, UndoStack &undoStack, QList< GraphicsLayer *> layers, const LengthUnit &lengthUnit, const QString &settingsPrefix, QWidget *parent=nullptr) noexcept
 
 ~StrokeTextPropertiesDialog () noexcept
 
StrokeTextPropertiesDialogoperator= (const StrokeTextPropertiesDialog &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

StrokeTextmText
 
UndoStackmUndoStack
 
QScopedPointer< Ui::StrokeTextPropertiesDialog > mUi
 

Detailed Description

Constructor & Destructor Documentation

◆ StrokeTextPropertiesDialog() [1/3]

◆ StrokeTextPropertiesDialog() [2/3]

◆ StrokeTextPropertiesDialog() [3/3]

StrokeTextPropertiesDialog ( StrokeText text,
UndoStack undoStack,
QList< GraphicsLayer *>  layers,
const LengthUnit lengthUnit,
const QString &  settingsPrefix,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~StrokeTextPropertiesDialog()

Member Function Documentation

◆ operator=()

StrokeTextPropertiesDialog& operator= ( const StrokeTextPropertiesDialog 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

StrokeText& mText
private

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mUi

QScopedPointer<Ui::StrokeTextPropertiesDialog> mUi
private

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