Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Plastique Style color depends on color scheme (WinXP)
Forum Updated to NodeBB v4.3 + New Features

Plastique Style color depends on color scheme (WinXP)

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wjlrkjjv
    wrote on last edited by
    #1

    Hello!

    On Windows 7, Plastique color is blue. Dont know on which setting it depends there.
    On Windows XP, it seems to depend on the color scheme (silver, blue, olive).

    Is there any way to set a consistent color for the plastique style without too much complexity?
    If not, is there any way to retrieve that color value?

    Thanks!

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wjlrkjjv
      wrote on last edited by
      #2

      You know, I mean the hover color for buttons, or the styledShape color for line edits, or the color of selected items in views and such. Its all blue on Win7 and silver on WinXP.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wjlrkjjv
        wrote on last edited by
        #3

        Ok one way I found is to serialize qApplication.palette() to a file one time, then load it on every startup and qApplication.setPalette(pal).
        Is this the way to go? Seems to work...

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved