LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( ProjectSettings settings,
UndoStack undoStack,
QWidget *  parent = 0 
)
explicitnoexcept
~ProjectSettingsDialog ( )
noexcept
ProjectSettingsDialog ( )
private
ProjectSettingsDialog ( const ProjectSettingsDialog other)
private

Member Function Documentation

void on_buttonBox_clicked ( QAbstractButton *  button)
privateslot

+ Here is the call graph for this function:

void on_btnLocaleAdd_clicked ( )
privateslot
void on_btnLocaleRemove_clicked ( )
privateslot
void on_btnLocaleUp_clicked ( )
privateslot
void on_btnLocaleDown_clicked ( )
privateslot
void on_btnNormAdd_clicked ( )
privateslot
void on_btnNormRemove_clicked ( )
privateslot
void on_btnNormUp_clicked ( )
privateslot
void on_btnNormDown_clicked ( )
privateslot
ProjectSettingsDialog& operator= ( const ProjectSettingsDialog rhs)
private
void accept ( )
private

+ Here is the call graph for this function:

void reject ( )
private
bool applySettings ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool restoreDefaultSettings ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updateGuiFromSettings ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ProjectSettings& mSettings
private
Ui::ProjectSettingsDialog* mUi
private
UndoStack& mUndoStack
private

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