Is there any easy way to add your buttons / widgets to the top pane of the window as in the example on the screenshot (menu button in old Firefox)?
Or the true path only through:
setWindowFlags(Qt.FramelessWindowHint);
..and drawing your own window frames, the top panel with control buttons and so on?