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

Method dockAreaAt

src/3rdparty/Qt-Advanced-Docking-System/src/DockContainerWidget.cpp:1656–1667  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1654
1655//============================================================================
1656CDockAreaWidget* CDockContainerWidget::dockAreaAt(const QPoint& GlobalPos) const
1657{
1658 for (const auto& DockArea : d->DockAreas)
1659 {
1660 if (DockArea && DockArea->isVisible() && DockArea->rect().contains(DockArea->mapFromGlobal(GlobalPos)))
1661 {
1662 return DockArea;
1663 }
1664 }
1665
1666 return nullptr;
1667}
1668
1669
1670//============================================================================

Callers 4

updateDropOverlaysMethod · 0.80
getDropModeMethod · 0.80
updateDropOverlaysMethod · 0.80
finishDraggingMethod · 0.80

Calls 3

rectMethod · 0.80
isVisibleMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected