You are not logged in.

#1 2015-07-20 19:52:59

Spiller
Member
Registered: 2015-07-20
Posts: 1

QtPalettor - Qt5 proxy theme for changing colors of themes

I couldn't find much about configuration of Qt5 themes, and all of the listed themes were light colored.
So I created this proxy-theme which modifies the palette colors of an existing theme. Theme and colors can be changed in a config file. Changing the colors using QPalette is vastly easier than using style sheets, which I always find becoming a nightmare as soon I want the scrollbars to look decent.

Maybe there is an easier way, but here it is: https://github.com/spillerrec/QtPalettor

This is an example of the Fusion theme with dark colors:
ENb64x8.png
Config file:

theme=Fusion

[Active]
Window            =#333
WindowText        =#BBB
Base              =#222
AlternateBase     =#222
ToolTipBase       =#BBB
ToolTipText       =#BBB
Text              =#BBB
Button            =#333
ButtonText        =#BBB
BrightText        =#F00
Link              =#2A82DA
Highlight         =#2A82DA
HighlightedText   =#CCC

#TODO: (just repeated from [Active])
[Inactive]
Window            =#333
WindowText        =#BBB
Base              =#222
AlternateBase     =#222
ToolTipBase       =#BBB
ToolTipText       =#BBB
Text              =#BBB
Button            =#333
ButtonText        =#BBB
BrightText        =#F00
Link              =#2A82DA
Highlight         =#2A82DA
HighlightedText   =#CCC


[Disabled]
Window            =#222
WindowText        =#555
Base              =#222
AlternateBase     =#222
ToolTipBase       =#555
ToolTipText       =#555
Text              =#555
Button            =#222
ButtonText        =#555
BrightText        =#A00
Link              =#2A82DA
Highlight         =#2A82DA
HighlightedText   =#555

Offline

Board footer

Powered by FluxBB