From dac0baac0de70aa3b50d15e548a4d3453f53ea51 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 4 Nov 2021 23:33:37 +0100 Subject: [PATCH] Qt: improve fsr tooltip area --- rpcs3/rpcs3qt/settings_dialog.cpp | 4 +- rpcs3/rpcs3qt/settings_dialog.ui | 154 +++++++++++++++++------------- 2 files changed, 87 insertions(+), 71 deletions(-) diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 4e67787fd8..c9d930264f 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -639,9 +639,7 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std return tr("%1%").arg(value); }; m_emu_settings->EnhanceSlider(ui->fsrSharpeningStrength, emu_settings_type::FsrSharpeningStrength); - SubscribeTooltip(ui->fsrSharpeningStrength, tooltips.settings.fsr_rcas_strength); - SubscribeTooltip(ui->fsrSharpeningStrengthVal, tooltips.settings.fsr_rcas_strength); - SubscribeTooltip(ui->fsrSharpeningStrengthReset, tooltips.settings.fsr_rcas_strength); + SubscribeTooltip(ui->fsrSharpeningStrengthWidget, tooltips.settings.fsr_rcas_strength); ui->fsrSharpeningStrengthVal->setText(fmt_fsr_sharpening_strength(ui->fsrSharpeningStrength->value())); connect(ui->fsrSharpeningStrength, &QSlider::valueChanged, [fmt_fsr_sharpening_strength, this](int value) { diff --git a/rpcs3/rpcs3qt/settings_dialog.ui b/rpcs3/rpcs3qt/settings_dialog.ui index 230dd1f330..b39694c486 100644 --- a/rpcs3/rpcs3qt/settings_dialog.ui +++ b/rpcs3/rpcs3qt/settings_dialog.ui @@ -671,76 +671,94 @@ - - - - 0 - 0 - - - - RCAS Sharpening Strength - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft - - - 1 - + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + RCAS Sharpening Strength + + + Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft + + + 1 + + + + + + + + + 0 + + + + + + + Qt::Horizontal + + + + + + + + 0 + 0 + + + + 100 + + + + + + + + + + + 0 + + + Qt::AlignCenter + + + + + + + Reset + + + + + + - - - - - - 0 - - - - - - - Qt::Horizontal - - - - - - - - 0 - 0 - - - - 100 - - - - - - - - - - - 0 - - - Qt::AlignCenter - - - - - - - Reset - - - - -