MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / redistributeFindDock

Method redistributeFindDock

gui/qt/mainwindow.cpp:970–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968}
969
970DockWidget *MainWindow::redistributeFindDock(const QPoint &pos) {
971 QWidget *child = childAt(pos);
972 if (QTabBar *tabBar = findSelfOrParent<QTabBar *>(child)) {
973 child = childAt({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1});
974 }
975 return findSelfOrParent<DockWidget *>(child);
976}
977
978bool MainWindow::redistributeDocks(const QPoint &pos, const QPoint &offset,
979 Qt::CursorShape cursorShape,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected