2024-07-30 11:42:36 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: GPL-3.0+
|
2022-12-24 03:58:21 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
|
|
#include "ui_DebugSettingsWidget.h"
|
|
|
|
|
2023-10-14 08:45:09 +00:00
|
|
|
class SettingsWindow;
|
2024-10-02 15:22:12 +00:00
|
|
|
class DebugAnalysisSettingsWidget;
|
2022-12-24 03:58:21 +00:00
|
|
|
|
|
|
|
class DebugSettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-10-14 08:45:09 +00:00
|
|
|
DebugSettingsWidget(SettingsWindow* dialog, QWidget* parent);
|
2022-12-24 03:58:21 +00:00
|
|
|
~DebugSettingsWidget();
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void onDrawDumpingChanged();
|
2024-10-13 20:04:33 +00:00
|
|
|
#ifdef PCSX2_DEVBUILD
|
|
|
|
void onLoggingEnableChanged();
|
|
|
|
#endif
|
2022-12-24 03:58:21 +00:00
|
|
|
|
|
|
|
private:
|
2023-10-14 08:45:09 +00:00
|
|
|
SettingsWindow* m_dialog;
|
2024-10-02 15:22:12 +00:00
|
|
|
DebugAnalysisSettingsWidget* m_analysis_settings;
|
2022-12-24 03:58:21 +00:00
|
|
|
|
|
|
|
Ui::DebugSettingsWidget m_ui;
|
|
|
|
};
|