参见:https://stackoverflow.com/questions/43831474/how-to-equally-distribute-the-width-of-qsplitter 改用setSize函数。