Quote Originally Posted by MarkoSan View Post
On QMainWindow, I create QWidget and then I setup it as QMainWindow's central widget?
Yes, of course the main window takes the ownership of this widget, so you don't have to care about its deletion.