Unsolved TitleBar
-
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
-
Hi,
Do you mean the window decoration ?
If so, then no, it's the window manager that handles that. -
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.
-
It can also be done with widgets, see here for example:
https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyleHowever I would not recommend to do such stuff when you are a beginner