mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 22:25:42 +00:00
33 lines
682 B
C++
33 lines
682 B
C++
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
#include "ui_displaysettingswidget.h"
|
|
|
|
class QtHostInterface;
|
|
class PostProcessingChainConfigWidget;
|
|
class SettingsDialog;
|
|
|
|
class DisplaySettingsWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
DisplaySettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
|
~DisplaySettingsWidget();
|
|
|
|
private Q_SLOTS:
|
|
void populateGPUAdaptersAndResolutions();
|
|
void onGPUAdapterIndexChanged();
|
|
void onGPUFullscreenModeIndexChanged();
|
|
void onIntegerFilteringChanged();
|
|
void onAspectRatioChanged();
|
|
|
|
private:
|
|
void setupAdditionalUi();
|
|
|
|
Ui::DisplaySettingsWidget m_ui;
|
|
|
|
QtHostInterface* m_host_interface;
|
|
};
|