void CApplication::KeyEvent(int c, int e) { if (e == GLFW_PRESS) KeyPress(MapKey(c)); else KeyRelease(MapKey(c)); }
void PTextEdit::keyReleaseEvent(QKeyEvent *e) { emit KeyRelease(); QPlainTextEdit::keyReleaseEvent(e); }
void CApplication::KeyEvent(int c, int e) { if (e == GLFW_PRESS) KeyPress(MapKey(c)); else KeyRelease(MapKey(c)); }
void PTextEdit::keyReleaseEvent(QKeyEvent *e) { emit KeyRelease(); QPlainTextEdit::keyReleaseEvent(e); }