How to show QGLWidget in full screen?
问题 I have a QGLWidget as part of the UI of my application. It is NOT a central widget , there are a lot of others widgets around it. I want to show it full screen on user clicks the button. Similar functionality like on youtube video flash player. I have tried to use showFullScreen with no effect. I have read how-to-fullscreen-a-qglwidget and fullscreen-widget, but they suggest using showFullScreen. Qt documentation states that for using showFullScreen widget must be an independent window. So I