dolphin/Source/Core/DolphinQt2/Config/SettingsWindow.h

36 lines
747 B
C
Raw Normal View History

// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <string>
#include <QDialog>
2017-05-31 23:53:46 +00:00
2017-06-21 08:27:21 +00:00
class MainWindow;
2017-05-31 23:53:46 +00:00
class QGroupBox;
class QListWidget;
class QListWidgetItem;
class QStackedWidget;
class SettingsWindow final : public QDialog
{
Q_OBJECT
public:
explicit SettingsWindow(QWidget* parent = nullptr);
2017-06-21 08:27:21 +00:00
signals:
void EmulationStarted();
void EmulationStopped();
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;
};