Results 1 to 3 of 3

Thread: Fusion color configuration

  1. #1
    Join Date
    Apr 2013
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Fusion color configuration

    Hi !

    Completely new to Qt, trying my first project. I discovered that the old styles are removed under Qt5 (pity). Fusion seems standard now. In this article, there are 3 color configurations :
    http://blog.qt.digia.com/blog/2012/1...adding-fusion/
    I'm wondering how I can get the effect of the second image (bluish) ? The default behaviour I have is the first image.
    Searched already forums and google to no avail...

    Thanks a lot in advance,
    Steve

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Fusion color configuration

    From one of the comments on that blog post:
    Jens says:
    November 15, 2012 at 02:07

    They are essentially just tweaked using Designers palette editor. Just open a form in designer and click on the palette section. Alternatively you can try the built-in palette by doing qApp->setPalette(style()->standardPalette()).
    Unfortunately the conversation only reveals the colours (approx) used for the dark variant:
    Jens says:
    January 9, 2013 at 11:18

    I dont have the original but you should be able to get close by just setting these colors I found using the colorpicker tool:
    window/button: #353535
    highlight: #8e2dc5

    The main trick to making your own color schemes is to use gray or only very low saturation on the background color. For the highlight color you can be a bit more bold but avoid strong primary colors like full red or yellow. Follow those rules and almost all the schemes look reasonably well.
    You could just sample the colours from the screenshot image in gimp or something like that.

    The legacy styles can be had from git:
    https://codereview.qt-project.org/#q...yleplugins,n,z
    http://qt.gitorious.org/qt/qtstyleplugins

  3. #3
    Join Date
    Apr 2013
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Fusion color configuration

    Hello Chris,

    Yes, pity, only the dark variant was explained.
    I will go for the legacy styles, thanks a lot for providing the links !

    Best regards...


    Added after 11 minutes:


    But installing these plugins seems rather difficult for a newbie...
    Last edited by steve.declerck; 12th April 2013 at 09:01.

Similar Threads

  1. Replies: 3
    Last Post: 3rd February 2014, 18:04
  2. Replies: 4
    Last Post: 8th September 2011, 09:22
  3. Replies: 3
    Last Post: 22nd January 2010, 17:46
  4. Display Label Color by selecting Color Picker
    By sosanjay in forum Qt Programming
    Replies: 1
    Last Post: 25th September 2009, 07:11
  5. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 23:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.