mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
32 lines
666 B
C++
32 lines
666 B
C++
// Copyright 2015 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <QDialog>
|
|
|
|
class QGroupBox;
|
|
class QListWidget;
|
|
class QListWidgetItem;
|
|
class QStackedWidget;
|
|
|
|
class SettingsWindow final : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit SettingsWindow(QWidget* parent = nullptr);
|
|
|
|
public slots:
|
|
void changePage(QListWidgetItem* current, QListWidgetItem* previous);
|
|
|
|
private:
|
|
void MakeCategoryList();
|
|
void AddCategoryToList(const QString& title, const std::string& icon_name);
|
|
void SetupSettingsWidget();
|
|
QStackedWidget* m_settings_outer;
|
|
QListWidget* m_categories;
|
|
};
|