Qt-QSplitter正确设置比例简短版本:详细版本: setSizes 官方介绍如下:Sets the child widgets’ respective sizes to the values given in the list. If the splitter is horizontal, the values set the width of each widget in pixels, from left to right. If the splitter is vertical, the height of each widg