MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / leaveEvent

Method leaveEvent

player/NymphCastPlayer/container_qpainter.cpp:1104–1116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1102}
1103
1104QVector<QRect> DocumentContainer::leaveEvent()
1105{
1106 if (!d->m_document)
1107 return {};
1108 litehtml::position::vector redrawBoxes;
1109 if (d->m_document->on_mouse_leave(redrawBoxes)) {
1110 QVector<QRect> redrawRects;
1111 for (const litehtml::position &box : redrawBoxes)
1112 redrawRects.append(toQRect(box));
1113 return redrawRects;
1114 }
1115 return {};
1116}
1117
1118QUrl DocumentContainer::linkAt(const QPoint &documentPos, const QPoint &viewportPos)
1119{

Callers

nothing calls this directly

Calls 3

toQRectFunction · 0.85
appendMethod · 0.80
on_mouse_leaveMethod · 0.45

Tested by

no test coverage detected