Added support for make auto hide widget floating via double click or context menu

This commit is contained in:
Uwe Kindler
2023-07-07 11:21:54 +02:00
parent 0b3c3f0123
commit 1c6d86e70f
10 changed files with 149 additions and 28 deletions

View File

@@ -1021,7 +1021,15 @@ void CDockWidget::setFloating()
{
return;
}
d->TabWidget->detachDockWidget();
if (this->isAutoHide())
{
dockAreaWidget()->setFloating();
}
else
{
d->TabWidget->detachDockWidget();
}
}