MCPcopy Create free account
hub / github.com/Theverat/NormalmapGenerator / wheelEvent

Method wheelEvent

src_gui/graphicsview.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void GraphicsView::wheelEvent(QWheelEvent *event) {
71 if(event->delta() > 0) {
72 emit zoomIn();
73 }
74 else {
75 emit zoomOut();
76 }
77}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected