[solved] tabifyDockWidget problem

  • In my mainwindow, I have two dockwidget in tab mode.

    tabifyDockWidget(dw1, dw2);

    Later, I'd like to DIStabify these two widget.

    How can I solve it?

  • I've found a solution, but not to elegant:

    addDockWidget(Qt::LeftDockWidgetArea, dw1);
    addDockWidget(Qt::RightDockWidgetArea, dw2);

    First I had to remove the dockwidgets and after I had to newly add them. This will DIStabify the dockwidgets...

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.