[Qt-interest] changing the titile bar color
Andre Somers
andre at familiesomers.nl
Tue Sep 1 08:51:28 CEST 2009
Yuvaraj R wrote:
> Hi All
>
> I want to change my title bar color. and i want change my window
> border colors..
>
> How can i im plement this one ?
>
>
This is highly platform and window-manager (X11) specific. Qt itself
does not support this. What you could try, is "ask" the window manager
to draw your window without borders or title bar, and draw them
yourself. That also entails implementing stuff like making sure you can
move and resize your window yourself.
In general, I would say: don't do this. Let the window manager decide
how your windows are decorated. That way, your application will fit the
style set on your platform best.
André
More information about the Qt-interest-old
mailing list