MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / keyReleaseEvent

Method keyReleaseEvent

QtNodeEditor/src/FlowView.cpp:297–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295
296
297void
298FlowView::
299keyReleaseEvent(QKeyEvent *event)
300{
301 switch (event->key())
302 {
303 case Qt::Key_Shift:
304 setDragMode(QGraphicsView::ScrollHandDrag);
305 break;
306
307 default:
308 break;
309 }
310 QGraphicsView::keyReleaseEvent(event);
311}
312
313
314void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected