summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Settings/InterfacePane.cpp
AgeCommit message (Collapse)Author
2024-07-28i18n: Add comments and improve source stringsJosJuice
Most of these changes are to improve consistency in capitalization.
2024-06-23DolphinQt: fix two -Wunused-lambda-capture warningsTillmann Karras
Also clean up signals a bit.
2024-06-06Use a stub AchivementManager when USE_RETRO_ACHIEVEMENTS isn't definedJosJuice
This lets us reduce the number of USE_RETRO_ACHIEVEMENTS ifdefs in the code base, reducing visual clutter. In particular, needing an ifdef for each call to IsHardcodeModeActive was annoying to me. This also reduces the risk that someone writes code that accidentally fails to compile with USE_RETRO_ACHIEVEMENTS disabled. We could cut down on ifdefs even further by making HardcodeWarningWidget always exist, but that would result in non-trivial code ending up in the binary even with USE_RETRO_ACHIEVEMENTS disabled, so I'm leaving it out of this PR. It's not a lot of code though, so I might end up revisiting it at some point.
2024-05-31InterfacePane: Add BalloonTip to user style comboboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to cursor visible radio buttonsDentomologist
2024-05-31InterfacePane: Add BalloonTip to lock mouse checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to pause on focus lost checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to show active title checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to enable on-screen display checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to use panic handlers checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to confirm on stop checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to disable screensaver checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to use covers checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to focused hotkeys checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to debugging enabled checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to language comboboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to top window checkboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to theme comboboxDentomologist
2024-05-31InterfacePane: Add BalloonTip to title database checkboxDentomologist
2024-05-02Disabled Hardcore Mode when Achievements disabledLillyJadeKatrin
Bugfix for hardcore-disabled items being disabled when hardcore was true but achievement integration was false, which should mean hardcore is effectively disabled. Now everything checks the IsHardcoreModeActive method in AchievementManager which processes the setting AND the game state to determine if hardcore mode is actually active.
2023-12-02Disable Debug Mode in hardcore modeLillyJadeKatrin
Debug Mode gives players direct read and write access to memory, which could be used to completely manipulate RetroAchievements logic and therefore is not allowed in hardcore mode.
2023-11-12Merge pull request #12273 from ↵Tilka
Dentomologist/dolphinqt_remove_unnecessary_qoverloads DolphinQt: Remove unnecessary qOverloads
2023-11-05DolphinQt/InterfacePane: Rework style dropdown so the built-in light/dark ↵Admiral H. Curtiss
style can be manually selected.
2023-11-05DolphinQt/Settings: Add option to force the light or dark style on Windows.Admiral H. Curtiss
2023-11-05DolphinQt/Settings: Split setting of the user style into two functions.Admiral H. Curtiss
This makes it so that if you just want to reload the current style (eg. on program start, or in response to a system event), you don't need to know the name of the currently selected user style. It's also more consistent with the way the 'userstyle/enabled' flag works.
2023-11-04DolphinQt: Remove unnecessary qOverloadsDentomologist
qOverload is used to disambiguate pointers to overloaded functions, but most of the usages in the code base were with non-overloaded functions.
2023-07-23Rename "Show Debugging UI" to "Enable Debugging UI"Pokechu22
This will hopefully reduce confusion on e.g. https://bugs.dolphin-emu.org/issues/13306.
2023-04-07DolphinQt: Fix mouse lock checkbox appearing when it shouldn'tPokechu22
See https://bugs.dolphin-emu.org/issues/13232; this was introduced in 7dde0c3c319577fd913e4de72a6113a8998ada49. Apparently, providing a parent for a widget that is not visible makes your new widget visible when the parent is later made visible, in addition to managing the deletion of the widget; the documentation does not specify this (only that if the parent is visible you need to explicitly show it).
2023-04-04DolphinQt: non-Windows builds leak in InterfacePaneMichael Cook (mackal)
The m_checkbox_lock_mouse QCheckBox was only conditionally being added to the layout, leaving it unmanaged and leaking Setting the parent will allow it to be managed.
2023-04-02Add Finnish translationJosJuice
A lot of progress has been made on the Finnish translation over on Transifex recently. Let's add it.
2022-09-24Move a SetEnableAlert call to UICommonJosJuice
This fixes a problem where changing the Use Panic Handlers setting on Android wouldn't take effect until the app was restarted.
2022-08-08Resolve "implicit capture of ‘this’ via ‘[=]’ is deprecated in ↵Zopolis4
C++20" warning
2022-05-08Qt/InterfacePane: Don't trigger config change events when populating GUI.Admiral H. Curtiss
2021-12-31Config: Port remaining Interface settings to new config system.Admiral H. Curtiss
2021-10-12Add option for Never Hide Mouse Cursorsowens99
Instead of having a single GUI checkbox for "Always Hide Mouse Cursor", I have instead opted to use radio buttons so the user can swap between different states of mouse visibility. "Movement" is the default behavior, "Never" will hide the mouse cursor the entire time the game is running, and "Always" will keep the mouse cursor always visible.
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-05-27Implement Cursor Locking and new input focus checks for itFiloppi
2020-11-18Merge pull request #7714 from cristian64/avoid_leaking_gamelistmodelLéo Lam
DolphinQt: Avoid leaking the GameListModel instance to gracefully shutdown the GameTracker and prevent a crash on exit
2020-10-18DolphinQt: Expose "DisableScreenSaver" setting in the UI.Jordan Woyak
2020-10-01Removed all references to GameListModel from the Settings component.Christian Aguilera
2020-09-07Merge pull request #8976 from JosJuice/port-some-settingsLC
Port some settings to the new config system
2020-08-23DolphinQt: resolve Qt5.15 deprecationsShawn Hoffman
2020-08-03Port some settings to the new config systemJosJuice
Other than the controller settings and JIT debug settings, these are the only settings which were defined in Java code but not defined in the new config system in C++. (There are still a lot of settings that are defined in the new config system but not yet saveable in the new config system, though.)
2020-05-02DolphinQt: Store name of user style, not pathJosJuice
This makes user styles not break when for instance moving a portable.txt install between different folders.
2020-04-28DolphinQt: Use qOverload where applicableLioncash
Provides the same behvaior, but in a much more concise manner.
2020-03-16StringUtil: Add PathToFileName functionJosJuice
2020-02-10DolphinQt: Give hotkeys their own "background input" setting.Jordan Woyak
2019-07-30DolphinQt: Replace QStringLiteral with alternatives where applicableLioncash
QStringLiterals generate a buffer so that during runtime there's very little cost to constructing a QString. However, this also means that duplicated strings cannot be optimized out into a single entry that gets referenced everywhere, taking up space in the binary. Rather than use QStringLiteral(""), we can just use QString{} (the default constructor) to signify the empty string. This gets rid of an unnecessary string buffer from being created, saving a tiny bit of space. While we're at it, we can just use the character overloads of particular functions when they're available instead of using a QString overload. The characters in this case are Latin-1 to begin with, so we can just specify the characters as QLatin1Char instances to use those overloads. These will automatically convert to QChar if needed, so this is safe.
2019-06-30Merge pull request #8118 from 8times9/move-windowontopConnor McLaughlin
Qt/InterfacePane: Move "Keep Window on Top" to Render Window section
2019-06-19Common/MsgHandler: Namespace code within the Common namespaceLioncash
Closes another gap in the Common library where code isn't being namespaced under it.