20 #ifndef LIBREPCB_EDITOR_WORKSPACESETTINGSDIALOG_H 21 #define LIBREPCB_EDITOR_WORKSPACESETTINGSDIALOG_H 26 #include "../modelview/editablelistmodel.h" 41 class WorkspaceSettings;
45 class KeyboardShortcutsModel;
48 class WorkspaceSettingsDialog;
67 QPointer<WorkspaceSettingsItem_GenericValueList<QStringList>>
setting;
79 QWidget* parent =
nullptr);
87 void desktopIntegrationStatusChanged();
90 void buttonBoxClicked(QAbstractButton* button) noexcept;
91 void keyPressEvent(QKeyEvent* event) noexcept
override;
92 void externalApplicationListIndexChanged(
int index) noexcept;
93 void updateThemesList(
const Uuid& selectedTheme) noexcept;
94 void themeIndexChanged(
int index) noexcept;
95 void initColorTreeWidgetItem(QTreeWidgetItem& item,
97 Theme* getCurrentTheme() noexcept;
98 void updateDismissedMessagesCount() noexcept;
99 void updateDesktopIntegrationStatus() noexcept;
100 void loadSettings() noexcept;
101 void saveSettings() noexcept;
106 QScopedPointer<LibraryLocaleOrderModel> mLibLocaleOrderModel;
110 QScopedPointer<QSortFilterProxyModel> mKeyboardShortcutsFilterModel;
Dialog (GUI) to view and modify workspace settings.
Definition: workspacesettingsdialog.h:58
A generic QAbstractTableModel subclass to view and edit list of various data types.
Definition: editablelistmodel.h:73
Definition: occmodel.cpp:77
QPointer< WorkspaceSettingsItem_GenericValueList< QStringList > > setting
Definition: workspacesettingsdialog.h:67
QVector< std::pair< QString, QString > > placeholders
Definition: workspacesettingsdialog.h:70
Container for all workspace related settings.
Definition: workspacesettings.h:60
QString defaultArgument
Definition: workspacesettingsdialog.h:69
Color settings as used by librepcb::Theme.
Definition: themecolor.h:43
QStringList currentValue
Definition: workspacesettingsdialog.h:71
Definition: workspacesettingsdialog.h:66
QString exampleExecutable
Definition: workspacesettingsdialog.h:68
A QAbstractItemModel to represent keyboard shortcut workspace settings.
Definition: keyboardshortcutsmodel.h:44
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Theme class as used by librepcb::WorkspaceSettingsItem_Themes.
Definition: theme.h:44
The Workspace class represents a workspace with all its data (library, projects, settings, ...)
Definition: workspace.h:54