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

+ Here is the call graph for this function:

Member Function Documentation

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

StrokeText& mText
private
UndoStack& mUndoStack
private
QScopedPointer<Ui::StrokeTextPropertiesDialog> mUi
private

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