質問

My application has a horizontal top logo that is stretched through all the main window. When I add a QDockWidget it shrinks logo. I want it to be docked under the logo frame. How do I do it?

役に立ちましたか?

解決

Put your logo widget into a QToolBar. QToolBar takes the top side of the window, thus QDockWidget is situaded under it.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top