2017-06-15 23:42:12 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QHash>
|
|
|
|
|
2017-06-15 23:43:14 +00:00
|
|
|
class AdvancedWidget;
|
|
|
|
class EnhancementsWidget;
|
|
|
|
class HacksWidget;
|
|
|
|
class GeneralWidget;
|
2017-06-15 23:42:12 +00:00
|
|
|
class MainWindow;
|
|
|
|
class QLabel;
|
|
|
|
class QTabWidget;
|
|
|
|
class QDialogButtonBox;
|
2017-06-15 23:43:14 +00:00
|
|
|
class SoftwareRendererWidget;
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
class GraphicsWindow final : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2023-04-26 22:35:40 +00:00
|
|
|
explicit GraphicsWindow(MainWindow* parent);
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
signals:
|
|
|
|
void BackendChanged(const QString& backend);
|
2022-09-25 06:50:41 +00:00
|
|
|
void UseFastTextureSamplingChanged();
|
2017-06-15 23:42:12 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void CreateMainLayout();
|
|
|
|
void OnBackendChanged(const QString& backend);
|
2023-03-26 00:16:53 +00:00
|
|
|
|
|
|
|
MainWindow* const m_main_window;
|
2017-06-15 23:42:12 +00:00
|
|
|
};
|