move all the qt stuff into MainWindow class
move all the qt stuff into MainWindow class x2