DolphinQt: Move graphics config to main Settings window.

This commit is contained in:
Jordan Woyak
2025-05-13 14:45:06 -05:00
parent 2047eaf1d8
commit 89b8edea03
17 changed files with 77 additions and 161 deletions

View File

@ -0,0 +1,34 @@
// Copyright 2017 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <QWidget>
class MainWindow;
namespace Config
{
class Layer;
} // namespace Config
class GraphicsPane final : public QWidget
{
Q_OBJECT
public:
explicit GraphicsPane(MainWindow* main_window, Config::Layer* config_layer);
Config::Layer* GetConfigLayer();
signals:
void BackendChanged(const QString& backend);
void UseFastTextureSamplingChanged();
void UseGPUTextureDecodingChanged();
private:
void CreateMainLayout();
void OnBackendChanged(const QString& backend);
MainWindow* const m_main_window;
Config::Layer* const m_config_layer;
};