mfreiholz / Qt-Advanced-Docking-System

Advanced Docking System for Qt
Other
744 stars 746 forks source link

Docking inside floating windows #19

Open eduwushu opened 8 years ago

eduwushu commented 8 years ago

Looking for a suitable docking system for my project in Qt I found your code and liked it a lot. The only thing I miss is the possibility to dock widgets inside floatable windows. I was thinking on modifying the code myself to try and pass a sectionwidget directly inside the floatablewidget so i have something to dock into inside the floating window. Do you see any problem with this approach?

mfreiholz commented 8 years ago

I also though about this feature and got a few requests for it. So definitely want it to be part of the library.

The problem I see with passing the SectionWidget to FloatingWidget is, that the code which handles drag&drop always requires a ContainerWidget.

So it also could be an idea to put a ContainerWidget inside the FloatingWidget and transfer the SectionContent into the new ContainerWidget. On this way event handling should keep working.

Hmmm...

JokerMartini commented 6 years ago

Any luck on this happening?