2016-05-09 06:34:07 -07:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
2017-05-31 16:53:46 -07:00
|
|
|
|
2018-04-16 22:55:37 +02:00
|
|
|
class QTabWidget;
|
|
|
|
|
|
|
|
enum class TabIndex
|
|
|
|
{
|
|
|
|
General = 0,
|
|
|
|
Audio = 2
|
|
|
|
};
|
2016-05-09 06:34:07 -07:00
|
|
|
|
|
|
|
class SettingsWindow final : public QDialog
|
|
|
|
{
|
2016-06-24 10:43:46 +02:00
|
|
|
Q_OBJECT
|
2016-05-09 06:34:07 -07:00
|
|
|
public:
|
2016-06-24 10:43:46 +02:00
|
|
|
explicit SettingsWindow(QWidget* parent = nullptr);
|
2017-08-26 20:54:37 +02:00
|
|
|
void SelectGeneralPane();
|
2017-07-16 14:11:11 -07:00
|
|
|
void SelectAudioPane();
|
|
|
|
|
2016-05-09 06:34:07 -07:00
|
|
|
private:
|
2018-04-16 22:55:37 +02:00
|
|
|
QTabWidget* m_tab_widget;
|
2016-05-09 06:34:07 -07:00
|
|
|
};
|