LibrePCB Developers Documentation
WorkspaceSettingsDialog Class Referencefinal

Dialog (GUI) to view and modify workspace settings. More...

#include <workspacesettingsdialog.h>

Inherits QDialog.

+ Collaboration diagram for WorkspaceSettingsDialog:

Public Member Functions

 WorkspaceSettingsDialog ()=delete
 
 WorkspaceSettingsDialog (const WorkspaceSettingsDialog &other)=delete
 
 WorkspaceSettingsDialog (WorkspaceSettings &settings, QWidget *parent=nullptr)
 
 ~WorkspaceSettingsDialog ()
 
WorkspaceSettingsDialogoperator= (const WorkspaceSettingsDialog &rhs)=delete
 

Private Types

using LibraryLocaleOrderModel = EditableListModel< QStringList, EditableListModelType::LOCALE >
 
using LibraryNormOrderModel = EditableListModel< QStringList >
 
using RepositoryUrlModel = EditableListModel< QList< QUrl > >
 

Private Member Functions

void buttonBoxClicked (QAbstractButton *button) noexcept
 
void loadSettings () noexcept
 
void saveSettings () noexcept
 

Private Attributes

WorkspaceSettingsmSettings
 Reference to the WorkspaceSettings object. More...
 
QScopedPointer< LibraryLocaleOrderModelmLibLocaleOrderModel
 
QScopedPointer< LibraryNormOrderModelmLibNormOrderModel
 
QScopedPointer< RepositoryUrlModelmRepositoryUrlsModel
 
QScopedPointer< Ui::WorkspaceSettingsDialog > mUi
 

Detailed Description

Dialog (GUI) to view and modify workspace settings.

Member Typedef Documentation

◆ LibraryLocaleOrderModel

◆ LibraryNormOrderModel

using LibraryNormOrderModel = EditableListModel<QStringList>
private

◆ RepositoryUrlModel

using RepositoryUrlModel = EditableListModel<QList<QUrl> >
private

Constructor & Destructor Documentation

◆ WorkspaceSettingsDialog() [1/3]

◆ WorkspaceSettingsDialog() [2/3]

◆ WorkspaceSettingsDialog() [3/3]

WorkspaceSettingsDialog ( WorkspaceSettings settings,
QWidget *  parent = nullptr 
)
explicit
+ Here is the call graph for this function:

◆ ~WorkspaceSettingsDialog()

Member Function Documentation

◆ operator=()

WorkspaceSettingsDialog& operator= ( const WorkspaceSettingsDialog rhs)
delete

◆ buttonBoxClicked()

void buttonBoxClicked ( QAbstractButton *  button)
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadSettings()

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

◆ saveSettings()

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

Member Data Documentation

◆ mSettings

WorkspaceSettings& mSettings
private

Reference to the WorkspaceSettings object.

◆ mLibLocaleOrderModel

QScopedPointer<LibraryLocaleOrderModel> mLibLocaleOrderModel
private

◆ mLibNormOrderModel

QScopedPointer<LibraryNormOrderModel> mLibNormOrderModel
private

◆ mRepositoryUrlsModel

QScopedPointer<RepositoryUrlModel> mRepositoryUrlsModel
private

◆ mUi

QScopedPointer<Ui::WorkspaceSettingsDialog> mUi
private

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