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