Changing color of window qt caption
-
Hi,
Is it possible to change the color of window qt caption??
I mean the blue color at the top of the GUI..
I use qt 5.5 , windows 7.Regards
vidisha -
Hi,
Is it possible to change the color of window qt caption??
I mean the blue color at the top of the GUI..
I use qt 5.5 , windows 7.Regards
vidisha@vidisha How the title bar is managed/painted comes directly from the OS-you're using. SO there is no predefined Qt-Way to change that.
But, I blieve you can simply set the
Qt::FramelessWindowHintflag and substitute the predefined 'topbar' with a custom widget.
Or look into your OS-documentation and search for the way to change the native event via external (cpp) event :) -
@jsulm

i marked with red color arrow about what i'm asking..
In the screen shot the first Gui is an example one & behind it is mine Gui,
& i want to change the color of title bar where minimize & close options are there.Thanks
Vidisha -
use https://postimg.cc/
http://imgur.com/upload to upload the image and provide the link to the users.Thanks,
-
http://imgur.com/a/AV5LD
Please find the attached image. -
@vidisha Sorry, but image sharing is usually not working in this forum - I cannot see any screen-shots. You can upload the screen-shots to an image sharing service and paste the link here.