[Interest] Dockwidgets as non-children
John Weeks
john at wavemetrics.com
Thu May 14 19:25:00 CEST 2015
> On 14 May 2015, at 8:43 am, Scott Aron Bloom <scott at towel42.com> wrote:
>
> I have a request from a customer, he loves our docked layout.. However, there are times when he wants to undock a window, and just make it a peer window. Ie, not a child that is always on top of the mainwindow.
>
> Is there any way to do this directly in Qt?
>
> Scott
The only way I know of is to create a new QWidget with no parent, and then re-parent the wrapped widget in the new QWidget. It will require an annoying amount of code to handle re-docking if that is desirable.
-John Weeks
More information about the Interest
mailing list