Qt6 topics merged with General

Custom window frame - is this possible?

  • Hi Folks,

    I'm just starting with qt and c++ so this is a bit advanced for me at this stage. But, does anyone know how I might do this i.e. add an additional icon to the top of a window. In this case the window has a cog icon.


    I found some examples where WindowFlags were being set to turn off Maximise, Minimise etc but I could not see how to add a new icon.



  • @AquaGuy AFAIK, the window frame color and buttons are based on the OS theme. We may not have access to it using Qt APIs. You can achieve it by hiding the window frame and creating your own minimize, maximize and close buttons along with title bar.


Log in to reply