Qt初始化窗口大小

在构造函数中使用

this->resize( QSize( x, y ));

其中x和y分别是窗口的长和高。

原文地址:https://www.cnblogs.com/cszlg/p/2989135.html