程序主体由 QApplication app(argc,argv)开始 按顺序初始化程序; 在 return app.exec();处进入消息循环 app.exec()函数监听事件,有event()函数分发事件 相关文章: