MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / keyPressEvent

Method keyPressEvent

Src/FrmViewerOpenGL.cpp:422–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422void CFrmViewerOpenGL::keyPressEvent(QKeyEvent *event)
423{
424 //qDebug("keyPressEvent key:%d;modifiers:%d", event->key(), event->modifiers());
425 emit sigKeyPressEvent(event->key(), event->modifiers());
426 event->accept();
427}
428
429void CFrmViewerOpenGL::keyReleaseEvent(QKeyEvent *event)
430{

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected