Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. TitleBar
Qt 6.12 LTS is out! See what's new in the release blog

TitleBar

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

    hi everyone. I'm working on a little project on Qt for beginners actually. I wanted to know if it is possible to change the color of the title bar I no longer want it to be white. is there a possibility? if yes please share there with me. cordially

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

      Hi,

      Do you mean the window decoration ?
      If so, then no, it's the window manager that handles that.

      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
      0
      • fcarneyF Offline
        fcarneyF Offline
        fcarney
        wrote on last edited by
        #3

        You could hide the window decoration and make your own toolbar for your app. You would have to handle drag events on your own though. I know this can be done in QML, not 100% sure about widgets.

        C++ is a perfectly valid school of magic.

        1 Reply Last reply
        0
        • gde23G Offline
          gde23G Offline
          gde23
          wrote on last edited by
          #4

          It can also be done with widgets, see here for example:
          https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle

          However I would not recommend to do such stuff when you are a beginner

          1 Reply Last reply
          1

          • Login

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