Nominate our 2022 Qt Champions!

QDockWidget dock resize event order

  • I have a QDockWidget which needs a custom resize handler when floating outside the mainwindow.

    But if I implement the resize() handler - then when a floating window is redocked it loses it's title bar.
    It gets more complicated because I don't get the "docked" event until it has already been resized and moved into it's docked position - so it is isn't possible to skip the resize event for re-docked windows

    What's the correct way to handle resize/move of floating windows ?

Log in to reply