KDAB / KDDockWidgets

KDAB's Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets
Other
762 stars 164 forks source link

Move DockWidget programmically #484

Closed Sara-Abdallah-97 closed 5 months ago

Sara-Abdallah-97 commented 6 months ago

Hi,

I have a question.

I want to adjust the DockWidgets layout (i.e. positions) if user clicked on a button. I tried to call addDockWidget again with the new position but seems it isn't fast So, thinking if there is a "moveDockWidget" function ?

I use qquick

Thanks!

iamsergio commented 6 months ago

Hi,

By "it isn't fast", you mean it doesn't work ?

If you change examples/qtquick/dockwidgets/ to make it repro, and attach the patch here I can take a look at it