MainWindow w; w.showMaximized(); 实例化后,初始显示设置为最大格式即可! 转载于:https://www.cnblogs.com/DSPLan/p/5389095.html