mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Qt: extract ListTabWidget from SettingsWindow
This commit is contained in:
parent
42f2851fa1
commit
19dc580a4e
6 changed files with 124 additions and 91 deletions
|
@ -4,15 +4,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class MainWindow;
|
||||
class QGroupBox;
|
||||
class QListWidget;
|
||||
class QListWidgetItem;
|
||||
class QStackedWidget;
|
||||
class ListTabWidget;
|
||||
|
||||
class SettingsWindow final : public QDialog
|
||||
{
|
||||
|
@ -23,13 +17,6 @@ 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;
|
||||
ListTabWidget* m_tabs;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue