mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[PR #1828] [CLOSED] style: Add options for system colors and system Qt widget styles #2331
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2331
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1828
Author: @tomboylover93
Created: 12/19/2024
Status: ❌ Closed
Base:
main← Head:qt-style📝 Commits (10+)
6eeec4cstyle: add Tokyo Night themef75b719clang-format: Update main_window_themes.h42671adstyle: Add light and dark system themesf1ea01cwip: Use native Qt widget style73a9bcdMerge branch 'shadps4-emu:main' into qt-styleb944d10style: Adjust settings dialog to work better with non-Fusion Qt widgets1f0fa2ahot-fix: Re-add license text to settings_dialog.ui5840463wip: Add section in settings dialog for changing Qt widget stylefbd47b4hot-fix: Re-adjust widget style group box dimensions390a308config: Handle widget style changes in the config file📊 Changes
10 files changed (+571 additions, -116 deletions)
View changed files
📝
src/common/config.cpp(+12 -0)📝
src/common/config.h(+2 -0)📝
src/qt_gui/main_window.cpp(+99 -1)📝
src/qt_gui/main_window.h(+3 -0)📝
src/qt_gui/main_window_themes.cpp(+17 -0)📝
src/qt_gui/main_window_themes.h(+4 -2)📝
src/qt_gui/main_window_ui.h(+6 -0)📝
src/qt_gui/settings_dialog.cpp(+29 -0)📝
src/qt_gui/settings_dialog.ui(+171 -113)📝
src/qt_gui/translations/en.ts(+228 -0)📄 Description
Taken from https://github.com/tomboylover93/shadPS4/releases/tag/v0.4.1_WIP_qt-style:
QT_STYLE_OVERRIDEenvironment variable, as long as it's set to "System". You can tweak this on config.toml with the linewidgetStyle = "Fusion". Since I couldn't figure out how to repaint all widgets after clicking on either "Save" or "Apply", this doesn't reflect in real time and you need to close and reopen shadPS4. Tested on Linux with KDE Plasma. Untested on Windows and macOS.Screenshots (taken on Linux with KDE Plasma):
Additional screenshots
This is purely cosmetical and should not affect the usability of the emulator in any way, but if you do have issues with it, such as the emulator not launching or the color/widget style changes not working, please let me know.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.