Duckstation/src/duckstation-qt/displaysettingswidget.h
2021-04-30 02:53:03 +10:00

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;
};