它是一个拆分器,或者用 Qt 的术语来说,是一个QSplitter。
您不能直接将它添加到 UI,因为对于 Designer 来说,它充当布局管理器(即使技术上不是,因为它继承自 QFrame,所以它是一个小部件)。
You can create a splitter by selecting two or more widgets that are considered siblings (they are children of the same parent, or all selected widgets are children of items that have the same parent), right click on any of them, and select "Layout horizontally/vertically in Splitter" from the "Lay out" menu.
Note that:
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句