src/settingseditor/settingseditor.h

Sun, 03 Jul 2022 12:20:26 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 03 Jul 2022 12:20:26 +0300
changeset 317
852021f38b66
parent 296
38f6fad61bad
child 357
66c75604f5b8
permissions
-rw-r--r--

Let's try to keep the amount of indents in check...

#pragma once
#include <QMdiSubWindow>
#include "src/basics.h"
#include "src/libraries.h"
#include "src/uiutilities.h"
#include "src/settingseditor/librarieseditor.h"

class SettingsEditor : public QMdiSubWindow
{
	Q_OBJECT
public:
	SettingsEditor(const uiutilities::KeySequenceMap& defaultKeyboardShortcuts = {},
		QWidget* parent = nullptr);
	~SettingsEditor();
	Q_SLOT void saveSettings();
	Q_SLOT void loadSettings();
Q_SIGNALS:
	void settingsChanged();
private:
	class Ui_SettingsEditor& ui;
	LibrariesModel libraries;
	LibrariesEditor librariesEditor;
	const uiutilities::KeySequenceMap defaultKeyboardShortcuts;
};

mercurial