I want all of the extra vertical space as possible to use for an OpenGL render window. So I would like to remove the frame and title bar:
Qt Code:
  1. window.setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
To copy to clipboard, switch view to plain text mode 
.
Is it possible to somehow keep the standard close/minimize/maximize buttons, maybe as widgets placed in the right corner of the screen? What's the best way to accomplish such a thing? Do I have to use push buttons?