The stretch factor applies only in the direction of the QBoxLayout, and is relative to the other boxes and widgets in this QBoxLayout. Widgets and boxes with higher stretch factors grow more.
这是这个函数的其中一段说明。
如果你的boxLayout只是放了一个widget 无论怎么修改stretch参数都是不能改变widget在Box里相对Box的尺寸;
如果存在多个widget于Box里,则其中某个widget的stretch参数相较其它widget的大,那么这个widget也显示的相对大点,但是其它widget有个最小显示尺寸,于是这种情况下无论你怎么修改那个stretch参数大的widget的这个stretch参数,相对尺寸固定。