Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序有一个水平顶部徽标,它延伸到所有主窗口。当我添加 QDockWidget 时,它会缩小徽标。我希望它停靠在徽标框架下。我该怎么做?
将您的徽标小部件放入 QToolBar。QToolBar 占据窗口的顶部,因此 QDockWidget 位于其下方。