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

Method mousePressEvent

player/NymphCastPlayer/qlitehtmlwidget.cpp:548–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548void QLiteHtmlWidget::mousePressEvent(QMouseEvent *event)
549{
550 QPoint viewportPos;
551 QPoint pos;
552 htmlPos(event->pos(), &viewportPos, &pos);
553 for (const QRect &r : d->documentContainer.mousePressEvent(pos, viewportPos, event->button()))
554 viewport()->update(fromVirtual(r.translated(-scrollPosition())));
555}
556
557void QLiteHtmlWidget::mouseReleaseEvent(QMouseEvent *event)
558{

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected