Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML: Change color of ApplicationWindow's Title bar
Forum Updated to NodeBB v4.3 + New Features

QML: Change color of ApplicationWindow's Title bar

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 4.2k 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.
  • X Offline
    X Offline
    XelaG
    wrote on last edited by
    #1

    Hello,

    I'm new to QML and I would change the color of a ApplicationWindow's title bar.
    On the screenshot below you can see that the title bar is white and I would like it in black or another color :
    !https://dl.dropboxusercontent.com/u/1628289/screenshot.png!

    In this other app, the title bar is black, I guess it's not written with Qt/QML but I also guess it is possible with Qt/QML.
    !https://dl.dropboxusercontent.com/u/1628289/screenshot2.png!

    Thanks.
    Alex.

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Are you using Qt 5.3 ? Have a look at "MenuBarStyle":http://qt-project.org/doc/qt-5/qml-qtquick-controls-styles-menubarstyle.html. It works on Ubuntu 14.04. But I've not tested on Android Device.

      157

      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