2016-05-09 13:34:07 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2016-05-09 13:34:07 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
2017-05-31 23:53:46 +00:00
|
|
|
|
2018-04-16 20:55:37 +00:00
|
|
|
class QTabWidget;
|
|
|
|
|
|
|
|
enum class TabIndex
|
|
|
|
{
|
|
|
|
General = 0,
|
|
|
|
Audio = 2
|
|
|
|
};
|
2016-05-09 13:34:07 +00:00
|
|
|
|
|
|
|
class SettingsWindow final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit SettingsWindow(QWidget* parent = nullptr);
|
2017-08-26 18:54:37 +00:00
|
|
|
void SelectGeneralPane();
|
2017-07-16 21:11:11 +00:00
|
|
|
void SelectAudioPane();
|
|
|
|
|
2016-05-09 13:34:07 +00:00
|
|
|
private:
|
2018-04-16 20:55:37 +00:00
|
|
|
QTabWidget* m_tab_widget;
|
2016-05-09 13:34:07 +00:00
|
|
|
};
|