mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
DolphinQt: Move graphics config to main Settings window.
This commit is contained in:
parent
2047eaf1d8
commit
89b8edea03
17 changed files with 77 additions and 161 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
class QStackedWidget;
|
||||
class QListWidget;
|
||||
class MainWindow;
|
||||
|
||||
// A settings window with a QListWidget to switch between panes of a QStackedWidget.
|
||||
class StackedSettingsWindow : public QDialog
|
||||
|
@ -34,6 +35,7 @@ private:
|
|||
enum class SettingsWindowPaneIndex : int
|
||||
{
|
||||
General = 0,
|
||||
Graphics,
|
||||
Controllers,
|
||||
Interface,
|
||||
Audio,
|
||||
|
@ -47,7 +49,7 @@ class SettingsWindow final : public StackedSettingsWindow
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SettingsWindow(QWidget* parent = nullptr);
|
||||
explicit SettingsWindow(MainWindow* parent);
|
||||
|
||||
void SelectPane(SettingsWindowPaneIndex);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue