MCPcopy Create free account
hub / github.com/KDE/labplot / setFloating

Method setFloating

src/3rdparty/Qt-Advanced-Docking-System/src/DockWidget.cpp:1111–1126  ·  view source on GitHub ↗

============================================================================

Source from the content-addressed store, hash-verified

1109
1110//============================================================================
1111void CDockWidget::setFloating()
1112{
1113 if (isClosed())
1114 {
1115 return;
1116 }
1117
1118 if (this->isAutoHide())
1119 {
1120 dockAreaWidget()->setFloating();
1121 }
1122 else
1123 {
1124 d->TabWidget->detachDockWidget();
1125 }
1126}
1127
1128
1129//============================================================================

Callers 1

setDockWidgetFloatingMethod · 0.45

Calls 2

isAutoHideMethod · 0.95
detachDockWidgetMethod · 0.80

Tested by

no test coverage detected