MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / eventFilter

Method eventFilter

bisectwindow.cpp:46–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool BisectWindow::eventFilter(QObject *obj, QEvent *event)
47{
48 if (event->type() == QEvent::KeyRelease) {
49 QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);
50 switch (keyEvent->key())
51 {
52 case Qt::Key_F1:
53 HelpWindow::getRef()->showHelp("bisector.html");
54 break;
55 }
56 return true;
57 } else {
58 // standard event processing
59 return QObject::eventFilter(obj, event);
60 }
61 return false;
62}
63
64void BisectWindow::refreshIDList()
65{

Callers

nothing calls this directly

Calls 1

showHelpMethod · 0.80

Tested by

no test coverage detected