diff --git a/pcsx2-qt/Settings/AchievementSettingsWidget.cpp b/pcsx2-qt/Settings/AchievementSettingsWidget.cpp index 1d9de3632c..50e4b89771 100644 --- a/pcsx2-qt/Settings/AchievementSettingsWidget.cpp +++ b/pcsx2-qt/Settings/AchievementSettingsWidget.cpp @@ -120,6 +120,10 @@ void AchievementSettingsWidget::updateEnableState() const bool info = enabled && sound && dialog()->getEffectiveBoolValue("Achievements", "InfoSound", true); const bool unlock = enabled && sound && dialog()->getEffectiveBoolValue("Achievements", "UnlockSound", true); const bool lbsound = enabled && sound && dialog()->getEffectiveBoolValue("Achievements", "LBSubmitSound", true); + + m_ui.viewProfile->setEnabled(enabled); + m_ui.loginButton->setEnabled(enabled); + m_ui.hardcoreMode->setEnabled(enabled); m_ui.achievementNotifications->setEnabled(enabled); m_ui.leaderboardNotifications->setEnabled(enabled); diff --git a/pcsx2-qt/Settings/AchievementSettingsWidget.ui b/pcsx2-qt/Settings/AchievementSettingsWidget.ui index 95589bf4a6..a05d91e148 100644 --- a/pcsx2-qt/Settings/AchievementSettingsWidget.ui +++ b/pcsx2-qt/Settings/AchievementSettingsWidget.ui @@ -11,13 +11,118 @@ + + + + Account + + + + + + + + Enable Achievements + + + + + + + Username: +Login token generated at: + + + Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + + + Qt::TextInteractionFlag::TextBrowserInteraction + + + viewProfile + + + + + + + + + + + View Profile... + + + + + + + Login... + + + + + + + + + + + + + 0 + 75 + + + + Game Info + + + + + + Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop + + + Qt::TextInteractionFlag::TextBrowserInteraction + + + viewProfile + + + + + + + + + + <html><head/><body><p align="justify">PCSX2 uses RetroAchievements as an achievement database and for tracking progress. To use achievements, please sign up for an account at <a href="https://retroachievements.org/">retroachievements.org</a>.</p><p align="justify">To view the achievement list in-game, press the hotkey for <span style=" font-weight:600;">Open Pause Menu</span> and select <span style=" font-weight:600;">Achievements</span> from the menu.</p></body></html> + + + Qt::TextFormat::RichText + + + true + + + 8 + + + true + + + enable + + + Settings - + Test Unofficial Achievements @@ -25,23 +130,16 @@ - + - Enable Hardcore Mode + Enable Spectator Mode - + - Enable Achievements - - - - - - - Enable Spectator Mode + Enable Hardcore Mode @@ -423,94 +521,6 @@ - - - - Account - - - - - - Username: -Login token generated at: - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop - - - Qt::TextInteractionFlag::TextBrowserInteraction - - - viewProfile - - - - - - - - - View Profile... - - - - - - - Login... - - - - - - - - - - - - - 0 - 75 - - - - Game Info - - - - - - Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop - - - Qt::TextInteractionFlag::TextBrowserInteraction - - - - - - - - - - <html><head/><body><p align="justify">PCSX2 uses RetroAchievements as an achievement database and for tracking progress. To use achievements, please sign up for an account at <a href="https://retroachievements.org/">retroachievements.org</a>.</p><p align="justify">To view the achievement list in-game, press the hotkey for <span style=" font-weight:600;">Open Pause Menu</span> and select <span style=" font-weight:600;">Achievements</span> from the menu.</p></body></html> - - - Qt::TextFormat::RichText - - - true - - - 8 - - - true - - - @@ -528,9 +538,11 @@ Login token generated at: enable + viewProfile + loginButton hardcoreMode - encoreMode spectatorMode + encoreMode unofficialAchievements achievementNotifications achievementNotificationsDuration @@ -556,8 +568,6 @@ Login token generated at: lbSoundBrowse lbSoundOpen lbSoundReset - viewProfile - loginButton