Changing color of window qt caption
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.
@vidisha Do you mean the title bar of the window? I don't think you can do it using Qt.
@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 :)
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.
@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.
I don't know what it is eaxctly called.. but where the options like minimize is there, i mean that..
Please find the attached image.
@vidisha What you want to do is not covered by Qt - you will need to use native API.