如何创建彼此相连的两个小部件(例如QList或QTab)以及它们之间的可拖动线,这样它们可以一起调整大小(一个变大,另一个变小,反过来)?
答案 0 :(得分:0)
http://doc.qt.io/qt-4.8/qsplitter.html This can be done in the form editor with the layout options (shown below).
This will allow you to drag back and forth in between your widgets.