LibrePCB Developers Documentation
ProjectSettingsDialog Class Referencefinal

The ProjectSettingsDialog class. More...

#include <projectsettingsdialog.h>

Inherits QDialog.

+ Collaboration diagram for ProjectSettingsDialog:

Public Member Functions

 ProjectSettingsDialog (ProjectSettings &settings, UndoStack &undoStack, QWidget *parent=0) noexcept
 
 ~ProjectSettingsDialog () noexcept
 

Private Slots

void on_buttonBox_clicked (QAbstractButton *button)
 
void on_btnLocaleAdd_clicked ()
 
void on_btnLocaleRemove_clicked ()
 
void on_btnLocaleUp_clicked ()
 
void on_btnLocaleDown_clicked ()
 
void on_btnNormAdd_clicked ()
 
void on_btnNormRemove_clicked ()
 
void on_btnNormUp_clicked ()
 
void on_btnNormDown_clicked ()
 

Private Member Functions

 ProjectSettingsDialog ()
 
 ProjectSettingsDialog (const ProjectSettingsDialog &other)
 
ProjectSettingsDialogoperator= (const ProjectSettingsDialog &rhs)
 
void accept ()
 
void reject ()
 
bool applySettings () noexcept
 
bool restoreDefaultSettings () noexcept
 
void updateGuiFromSettings () noexcept
 

Private Attributes

ProjectSettingsmSettings
 
Ui::ProjectSettingsDialog * mUi
 
UndoStackmUndoStack
 

Detailed Description

Constructor & Destructor Documentation

◆ ProjectSettingsDialog() [1/3]

ProjectSettingsDialog ( ProjectSettings settings,
UndoStack undoStack,
QWidget *  parent = 0 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~ProjectSettingsDialog()

~ProjectSettingsDialog ( )
noexcept

◆ ProjectSettingsDialog() [2/3]

ProjectSettingsDialog ( )
private

◆ ProjectSettingsDialog() [3/3]

ProjectSettingsDialog ( const ProjectSettingsDialog other)
private

Member Function Documentation

◆ on_buttonBox_clicked

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

◆ on_btnLocaleAdd_clicked

void on_btnLocaleAdd_clicked ( )
privateslot

◆ on_btnLocaleRemove_clicked

void on_btnLocaleRemove_clicked ( )
privateslot

◆ on_btnLocaleUp_clicked

void on_btnLocaleUp_clicked ( )
privateslot

◆ on_btnLocaleDown_clicked

void on_btnLocaleDown_clicked ( )
privateslot

◆ on_btnNormAdd_clicked

void on_btnNormAdd_clicked ( )
privateslot

◆ on_btnNormRemove_clicked

void on_btnNormRemove_clicked ( )
privateslot

◆ on_btnNormUp_clicked

void on_btnNormUp_clicked ( )
privateslot

◆ on_btnNormDown_clicked

void on_btnNormDown_clicked ( )
privateslot

◆ operator=()

ProjectSettingsDialog& operator= ( const ProjectSettingsDialog rhs)
private

◆ accept()

void accept ( )
private
+ Here is the call graph for this function:

◆ reject()

void reject ( )
private

◆ applySettings()

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

◆ restoreDefaultSettings()

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

◆ updateGuiFromSettings()

void updateGuiFromSettings ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mSettings

ProjectSettings& mSettings
private

◆ mUi

Ui::ProjectSettingsDialog* mUi
private

◆ mUndoStack

UndoStack& mUndoStack
private

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