Qt Creator theme folder
-
Where is the Qt Creator folder for the themes? I'm using Qt Creator 4.6.1.
I tried to find in
C:\Users\<user>\AppData\Roaming\QtProject\qtcreator
, but there's nothing there.I'm interested in finding the css for the Qt Creator themes, if that's possible.
-
Hi
its in
"C:\Qt\Tools\QtCreator\share\qtcreator\themes"
But its NOT a css. more like a color table in ini format.
It uses the fusion style and the themes simply set the colors.
[General]
ThemeName=Flat Dark
PreferredStyles=Fusion
DefaultTextEditorColorScheme=creator-dark.xml[Palette] shadowBackground=ff404244 text=ffd0d0d0 textDisabled=60a4a6a8 toolBarItem=b6fbfdff toolBarItemDisabled=60a4a6a8 fancyBarsNormalTextColor=ffd0d0d0 fancyBarsBoldTextColor=b6fbfdff hoverBackground=22ffffff selectedBackground=66000000 normalBackground=ff2E2F30 alternateBackground=ff353637 error=ffdf4f4f warning=ffecbc1c splitter=ff06080A textColorLink=ff007af4 textColorLinkVisited=ffa57aff backgroundColorDisabled=ff444444 ...
-
So it's like setting the palettes? Like this?
-
So it's like setting the palettes? Like this?
@Mr-Gisa
Basically yes.
But Creator might have internal use that outside of setPalette as it knows the styles.
Like PreferredStyles=FusionI also wanted to borrow the look but even reading the ini file and set same color
did not produce 100% same look but was close.You can maybe find inspiration in
https://github.com/ColinDuquesnoy/QDarkStyleSheet -
@Mr-Gisa
Basically yes.
But Creator might have internal use that outside of setPalette as it knows the styles.
Like PreferredStyles=FusionI also wanted to borrow the look but even reading the ini file and set same color
did not produce 100% same look but was close.You can maybe find inspiration in
https://github.com/ColinDuquesnoy/QDarkStyleSheet -
@mrjj Yes, I know, that is sad. I'm not actually looking for the dark theme but the flat light one, all the styles I can find is only dark (people like dark things right? haha)
@Mr-Gisa
haha :)
I thought i was only person in the world that is not into dark themes.
Well using fusion QStyle and the colors in the flat file will get you close.
But i think some of the flatness in Creator also comes from the custom widgets. -
@Mr-Gisa
haha :)
I thought i was only person in the world that is not into dark themes.
Well using fusion QStyle and the colors in the flat file will get you close.
But i think some of the flatness in Creator also comes from the custom widgets. -
@mrjj I will try to see if it works, if not I will stick with the fusion style without any palette.
-