MCPcopy Create free account
hub / github.com/Simsys/qhexedit2 / mouseMoveEvent

Method mouseMoveEvent

src/qhexedit.cpp:810–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808}
809
810void QHexEdit::mouseMoveEvent(QMouseEvent * event)
811{
812 _blink = false;
813 viewport()->update();
814 qint64 actPos = cursorPosition(event->pos());
815 if (actPos >= 0)
816 {
817 setCursorPosition(actPos);
818 setSelection(actPos);
819 }
820}
821
822void QHexEdit::mousePressEvent(QMouseEvent * event)
823{

Callers

nothing calls this directly

Calls 1

posMethod · 0.80

Tested by

no test coverage detected