20#ifndef LIBREPCB_EDITOR_WORKSPACESETTINGSDIALOG_H
21#define LIBREPCB_EDITOR_WORKSPACESETTINGSDIALOG_H
26#include "../modelview/editablelistmodel.h"
41class WorkspaceSettings;
45class KeyboardShortcutsModel;
48class WorkspaceSettingsDialog;
67 QPointer<WorkspaceSettingsItem_GenericValueList<QStringList>>
setting;
79 QWidget* parent =
nullptr);
Color settings as used by librepcb::Theme.
Definition: themecolor.h:43
Theme class as used by librepcb::WorkspaceSettingsItem_Themes.
Definition: theme.h:44
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
The Workspace class represents a workspace with all its data (library, projects, settings,...
Definition: workspace.h:54
Container for all workspace related settings.
Definition: workspacesettings.h:60
A generic QAbstractTableModel subclass to view and edit list of various data types.
Definition: editablelistmodel.h:73
A QAbstractItemModel to represent keyboard shortcut workspace settings.
Definition: keyboardshortcutsmodel.h:44
Dialog (GUI) to view and modify workspace settings.
Definition: workspacesettingsdialog.h:58
QScopedPointer< KeyboardShortcutsModel > mKeyboardShortcutsModel
Definition: workspacesettingsdialog.h:109
void saveSettings() noexcept
Definition: workspacesettingsdialog.cpp:693
QScopedPointer< ApiEndpointModel > mApiEndpointModel
Definition: workspacesettingsdialog.h:108
WorkspaceSettings & mSettings
Reference to the Workspace object.
Definition: workspacesettingsdialog.h:105
void updateDismissedMessagesCount() noexcept
Definition: workspacesettingsdialog.cpp:604
QScopedPointer< LibraryNormOrderModel > mLibNormOrderModel
Definition: workspacesettingsdialog.h:107
void externalApplicationListIndexChanged(int index) noexcept
Definition: workspacesettingsdialog.cpp:462
void loadSettings() noexcept
Definition: workspacesettingsdialog.cpp:641
WorkspaceSettingsDialog & operator=(const WorkspaceSettingsDialog &rhs)=delete
QMap< Uuid, Theme > mThemes
Definition: workspacesettingsdialog.h:115
WorkspaceSettingsDialog()=delete
~WorkspaceSettingsDialog()
Definition: workspacesettingsdialog.cpp:400
void desktopIntegrationStatusChanged()
QVector< ExternalApplication > mExternalApplications
Definition: workspacesettingsdialog.h:114
QScopedPointer< LibraryLocaleOrderModel > mLibLocaleOrderModel
Definition: workspacesettingsdialog.h:106
void initColorTreeWidgetItem(QTreeWidgetItem &item, const ThemeColor &color) noexcept
Definition: workspacesettingsdialog.cpp:579
void updateThemesList(const Uuid &selectedTheme) noexcept
Definition: workspacesettingsdialog.cpp:539
Workspace & mWorkspace
Definition: workspacesettingsdialog.h:104
void keyPressEvent(QKeyEvent *event) noexcept override
Definition: workspacesettingsdialog.cpp:450
QScopedPointer< QSortFilterProxyModel > mKeyboardShortcutsFilterModel
Definition: workspacesettingsdialog.h:110
WorkspaceSettingsDialog(const WorkspaceSettingsDialog &other)=delete
void updateDesktopIntegrationStatus() noexcept
Definition: workspacesettingsdialog.cpp:616
void themeIndexChanged(int index) noexcept
Definition: workspacesettingsdialog.cpp:550
QScopedPointer< Ui::WorkspaceSettingsDialog > mUi
Definition: workspacesettingsdialog.h:111
void buttonBoxClicked(QAbstractButton *button) noexcept
Definition: workspacesettingsdialog.cpp:411
Theme * getCurrentTheme() noexcept
Definition: workspacesettingsdialog.cpp:597
Definition: occmodel.cpp:77
Definition: workspacesettingsdialog.h:66
QStringList currentValue
Definition: workspacesettingsdialog.h:71
QString exampleExecutable
Definition: workspacesettingsdialog.h:68
QString defaultArgument
Definition: workspacesettingsdialog.h:69
QVector< std::pair< QString, QString > > placeholders
Definition: workspacesettingsdialog.h:70
QPointer< WorkspaceSettingsItem_GenericValueList< QStringList > > setting
Definition: workspacesettingsdialog.h:67