MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / keyPressEvent

Method keyPressEvent

ASAP/ASAP_Window.cpp:197–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196
197void ASAP_Window::keyPressEvent(QKeyEvent* event)
198{
199 event->ignore();
200 if (event->key() == Qt::Key::Key_F1) {
201 this->showShortcutOverview();
202 }
203 for (auto const& extension : _extensions) {
204 extension->keyPressEvent(event);
205 }
206}
207
208void ASAP_Window::closeEvent(QCloseEvent *event) {
209 event->accept();

Callers

nothing calls this directly

Calls 1

showShortcutOverviewMethod · 0.95

Tested by

no test coverage detected