2020-09-10 14:18:12 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
|
|
#include "ui_displaysettingswidget.h"
|
|
|
|
|
|
|
|
class QtHostInterface;
|
2020-09-12 15:20:02 +00:00
|
|
|
class PostProcessingChainConfigWidget;
|
2020-09-10 14:18:12 +00:00
|
|
|
class SettingsDialog;
|
|
|
|
|
|
|
|
class DisplaySettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
DisplaySettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
|
|
|
~DisplaySettingsWidget();
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
2020-11-01 14:38:54 +00:00
|
|
|
void populateGPUAdaptersAndResolutions();
|
2020-09-10 14:18:12 +00:00
|
|
|
void onGPUAdapterIndexChanged();
|
2020-11-01 14:38:54 +00:00
|
|
|
void onGPUFullscreenModeIndexChanged();
|
2021-02-01 08:39:15 +00:00
|
|
|
void onIntegerFilteringChanged();
|
2021-04-28 16:42:08 +00:00
|
|
|
void onAspectRatioChanged();
|
2020-09-10 14:18:12 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void setupAdditionalUi();
|
|
|
|
|
|
|
|
Ui::DisplaySettingsWidget m_ui;
|
|
|
|
|
|
|
|
QtHostInterface* m_host_interface;
|
|
|
|
};
|