Quote Originally Posted by Zlatomir View Post
You don't need to convert your QWidget into a QMainWindow.
You can create a new QMainWindow and use it's setCentralWidget() member function to make your widget appear in the main window.
Thanks, but I would like everything to be in one file, since they are all related.
Nice to know this tip though, will be using it one day.