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

Method detachDockWidget

src/3rdparty/Qt-Advanced-Docking-System/src/DockWidgetTab.cpp:751–760  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

749
750//===========================================================================
751void CDockWidgetTab::detachDockWidget()
752{
753 if (!d->DockWidget->features().testFlag(CDockWidget::DockWidgetFloatable))
754 {
755 return;
756 }
757
758 d->saveDragStartMousePosition(QCursor::pos());
759 d->startFloating(DraggingInactive);
760}
761
762
763//===========================================================================

Callers 1

setFloatingMethod · 0.80

Calls 3

featuresMethod · 0.45
startFloatingMethod · 0.45

Tested by

no test coverage detected