2022-12-04 11:03:45 +00:00
|
|
|
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
|
|
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
|
|
|
|
2020-09-10 14:18:12 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
|
|
#include "ui_enhancementsettingswidget.h"
|
|
|
|
|
2023-11-06 13:01:38 +00:00
|
|
|
class SettingsWindow;
|
2020-09-10 14:18:12 +00:00
|
|
|
|
|
|
|
class EnhancementSettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-11-06 13:01:38 +00:00
|
|
|
EnhancementSettingsWidget(SettingsWindow* dialog, QWidget* parent);
|
2020-09-10 14:18:12 +00:00
|
|
|
~EnhancementSettingsWidget();
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void updateScaledDitheringEnabled();
|
2023-09-03 07:10:40 +00:00
|
|
|
void updateDownsampleScaleVisible();
|
2020-09-10 14:18:12 +00:00
|
|
|
void updatePGXPSettingsEnabled();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupAdditionalUi();
|
|
|
|
|
|
|
|
Ui::EnhancementSettingsWidget m_ui;
|
|
|
|
|
2023-11-06 13:01:38 +00:00
|
|
|
SettingsWindow* m_dialog;
|
2020-09-10 14:18:12 +00:00
|
|
|
};
|