title: Qt6 - Custom title bar
body: <p>How to create a custom window title bar? Of course, there are solutions to this problem on the Internet, but the problem is that they are all crutches and do not even come close to the functionality of the original windows frame. What functionality are we talking about? The same window resizing .. in all the tutorials on creating a custom window frame either do not make the window resizing function at all or use the usual <strong>QResizeGrip</strong> for this, which does not give all the possibilities of resizing the window.</p>
  <p><a href="https://i.stack.imgur.com/jaOy7.png" rel="nofollow noreferrer">Custom window title bar in Google Chrome</a></p>
  <p>If you look at the Telegram Desktop, which uses <strong>Qt</strong> to draw the interface, you can see that all window functions are present, but the question remains open .. How to do this? Thanks in advance!</p>