[Interest] QMainWindow: add a dock widget as a floater?

Rui Maciel rui.maciel at gmail.com
Fri Jul 20 11:56:45 CEST 2012


On 07/20/2012 10:52 AM, Rui Maciel wrote:
>
> I've tried that, but that ends up screwing up how the dock widget is
> rendered. The dock widget is rendered properly when added through
> addDockWidget(), though.

I've attached a couple of screenshots showing how the dock widget is 
rendered without being added through the addDockWidget() member function 
(i.e., default at construction time) and added through addDockWidget().


Rui Maciel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: without.png
Type: image/png
Size: 9886 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120720/25511898/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with.png
Type: image/png
Size: 13146 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120720/25511898/attachment-0001.png>


More information about the Interest mailing list