src/settingseditor/settingseditor.h

Tue, 14 Jun 2022 20:35:11 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 14 Jun 2022 20:35:11 +0300
changeset 219
571e85c0d811
parent 218
63125c36de73
child 230
a1f3f7d9078b
permissions
-rw-r--r--

fix comment

#pragma once
#include <QDialog>
#include "basics.h"
#include "librarieseditor.h"
#include "libraries.h"
#include "uiutilities.h"
#include "configuration.h"

class SettingsEditor : public QDialog
{
	Q_OBJECT
public:
	SettingsEditor(const uiutilities::KeySequenceMap& defaultKeyboardShortcuts = {},
		QWidget* parent = nullptr);
	~SettingsEditor();
private Q_SLOTS:
	void handleAccepted();
private:
	class Ui_SettingsEditor& ui;
	LibraryManager libraries;
	LibrariesEditor librariesEditor;
	const uiutilities::KeySequenceMap defaultKeyboardShortcuts;
	void loadLocales();
	void setDefaults();
	void setCurrentLanguage(const QString& localeCode);
};

mercurial