diff options
| author | cirakg <cirakg@cirakg.xyz> | 2026-11-03 21:58:24 +0100 |
|---|---|---|
| committer | cirakg <cirakg@cirakg.xyz> | 2026-11-03 21:58:24 +0100 |
| commit | cdfb1ae93444c0aa02dfe592af36d70ab36549fd (patch) | |
| tree | 2fa8d7062d907d5ab8d85d64c66be87ea4cdf0d1 /src/yuzu/configuration/nvidia_dlss_panel.h | |
| parent | 51341ec09b25de1d9b01d0c00ee828dd5b861d5c (diff) | |
| parent | 4383b9787afbf6c63291bf803c8330afb4f21a16 (diff) | |
# Conflicts:
# .github/workflows/release-binaries.yml
Diffstat (limited to 'src/yuzu/configuration/nvidia_dlss_panel.h')
| -rw-r--r-- | src/yuzu/configuration/nvidia_dlss_panel.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/yuzu/configuration/nvidia_dlss_panel.h b/src/yuzu/configuration/nvidia_dlss_panel.h new file mode 100644 index 0000000000..1ab39178eb --- /dev/null +++ b/src/yuzu/configuration/nvidia_dlss_panel.h @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +// Shown under the NVIDIA DLSS setting: which of NVIDIA's files were found, and +// a button that fetches missing ones from NVIDIA's own Streamline release. + +#pragma once + +#ifdef EGLANTINE_STREAMLINE + +#include <QWidget> + +class QLabel; +class QPushButton; + +class NvidiaDlssPanel : public QWidget { +public: + explicit NvidiaDlssPanel(QWidget* parent); + + void Refresh(); + +protected: + void showEvent(QShowEvent* event) override; + +private: + void Download(); + + QLabel* icon_label; + QLabel* status_label; + QPushButton* download_button; + QPushButton* folder_button; +}; + +#endif |
