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. Changing color of Titlebar in pyside6 GUI's
Forum Updated to NodeBB v4.3 + New Features

Changing color of Titlebar in pyside6 GUI's

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.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.
  • N Offline
    N Offline
    Nandini
    wrote on last edited by
    #1

    How do I change the color of title bar from light to say dark (black).
    Scenario:
    I am using Fusion style to set my GUI style and using QPalette to set dark color for complementing the dark theme. But I still get light (white) color titlebar. How do i change it to black or something suitable?

    Is the titlebar color OS theme dependent?
    cf73fb54-0726-43ef-afb1-e34e822f9f2f-image.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Yes it is, Qt does not draw the title bar or window decorations.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

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