开发者

QDockWidget Tab Position

开发者 https://www.devze.com 2023-02-12 14:55 出处:网络
When I group multiple QDockWidgets in the same place, their tabs go at the bottom.Is there a way to put them at the top?

When I group multiple QDockWidgets in the same place, their tabs go at the bottom. Is there a way to put them at the top?

Even better is if I can replace the title b开发者_运维百科ar with the tabs themselves. the Eclipse IDE has very similar behavior, as can be seen in this screenshot:

QDockWidget Tab Position

.

For example, the JUnit tab is also it's header and can be dragged to dock it anywhere else.


You can control where the tabs are in each of the dock areas with QMainWindow::setTabPosition.

0

精彩评论

暂无评论...
验证码 换一张
取 消