Skip to content

Conversation

loathingKernel
Copy link
Contributor

@loathingKernel loathingKernel commented Apr 12, 2025

Adds theming for QScrollBar/QComboBox controls for the Steam Deck theme

Preview:
image

The icon file paths are injected in to the CSS string dynamically right now. I would like to move them into a QResources file but I wanted to get the ok from you before going forward with that. The QResources as far as the theme is concerned should include the QSS file along with any images it uses. The icons are modified from Font Awesome icons and I should check up on their exact license.

Generally I consider this WIP that should take some time due to availability. Feel free to comment with any concerns in the meantime though.

Edit: Regarding the license, it should be ok to use. These icons are take from the FontAwesome repository, they are caret-down and caret-up

@loathingKernel
Copy link
Contributor Author

loathingKernel commented Apr 14, 2025

I've added examples of using QResources and generating the stylesheet through qstylizer so it is more clear what kind of handling I was referring to previously. The qstylizer code is probably over-engineered (some things could just be statically defined) for this use-case but I wanted to demonstrate what is possible with it.

@loathingKernel loathingKernel marked this pull request as ready for review April 14, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant