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

Method keyPressEvent

QtNodeEditor/src/FlowView.cpp:279–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277
278
279void
280FlowView::
281keyPressEvent(QKeyEvent *event)
282{
283 switch (event->key())
284 {
285 case Qt::Key_Shift:
286 setDragMode(QGraphicsView::RubberBandDrag);
287 break;
288
289 default:
290 break;
291 }
292
293 QGraphicsView::keyPressEvent(event);
294}
295
296
297void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected