View Full Version : Actions in QDcokWidget
rouge
3rd November 2011, 07:36
hi all,
how it is possible to place a toolbar with actions in a qdockwidget? ... like in the Qt Designer:
7069
thx
FelixB
3rd November 2011, 07:50
Of course, I'm doing that in one of my applications ;)
You can set a custom TitleWidget do a QDockWidget. This TitleWidget can contain whatever you want since it is just a QWidget. So, you can define a Widget that contains a ToolBar and set that as cutom TitleWidget.
hth,
Felix
rouge
3rd November 2011, 07:58
ok thx,
and I think there is no way to do this with the Qt Designer?
FelixB
3rd November 2011, 09:40
no. But you can design your custom title widget in the designer, of course!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.