[Solved] Change QTCreator style



  • Hi!

    Finally, I've tuned my color scheme, but it's annoying, that all panels(Project, Opened files, etc.) use default QTCreator style :( Is there a way to adjust it to my current color set(except of changing creator's source)? Perhaps, with some plugin or css?



  • Me too! Came here exactly to talk about this thing.

    So far, the best method I've found is to use a stylesheet with the -stylesheet command line argument. Then grab something like http://tech-artists.org/forum/showthread.php?2359-Release-Qt-dark-orange-stylesheet

    I found some small glitches with text colors and checkboxes appearing wrong, things like that. Maybe that CSS needs tweaking, but I don't want to bother keeping a GUI CSS up-to-date myself... :)

    What I have been wishing for is to include a settings dialog option in Qt Creator itself which allows to easily switch all the colors of the panels, etc. of Qt Creator. And then ship the IDE with a bright/dark theme.

    Currently the only easy way I've found to change the full color theme is to go to KDE system settings and pick a theme. But Windows (and vanilla Ubuntu) could also benefit from an easy setting.

    If anyone knows an even better solution for this, don't hesitate to me tell about it. :)



  • [quote author="jza1" date="1382980263"]Me too! Came here exactly to talk about this thing.

    So far, the best method I've found is to use a stylesheet with the -stylesheet command line argument. Then grab something like http://tech-artists.org/forum/showthread.php?2359-Release-Qt-dark-orange-stylesheet

    I found some small glitches with text colors and checkboxes appearing wrong, things like that. Maybe that CSS needs tweaking, but I don't want to bother keeping a GUI CSS up-to-date myself... :)

    What I have been wishing for is to include a settings dialog option in Qt Creator itself which allows to easily switch all the colors of the panels, etc. of Qt Creator. And then ship the IDE with a bright/dark theme.

    Currently the only easy way I've found to change the full color theme is to go to KDE system settings and pick a theme. But Windows (and vanilla Ubuntu) could also benefit from an easy setting.

    If anyone knows an even better solution for this, don't hesitate to me tell about it. :)[/quote]

    Yep, after googling for a while, i've found same topic on http://habrahabr.ru/post/152367/ (sorry for russian only), but that stylesheet was for older version :( For my it doesn't work: background is still white, but styles of some buttons has changed.
    But your file is working, and seemes cool! Thanks a lot :)



  • Did you get the checkbox to work properly? Putting the png files into "images" subfolder doesn't seem to be enough.



  • [quote author="jza1" date="1383126125"]Did you get the checkbox to work properly? Putting the png files into "images" subfolder doesn't seem to be enough.[/quote]

    QCheckBox::indicator:checked
    {
    image:url(/home/vmkan/.config/QtProject/qtcreator/styles/images/checkbox.png);
    }

    Adding this to .stylesheet works well for me.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.