程序主體由 QApplication app(argc,argv)開始
按順序初始化程序;
在 return app.exec();處進入消息循環
app.exec()函數監聽事件,有event()函數分發事件