winMain: init it as QMainWindow, not QWidget