MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / wheelEvent

Method wheelEvent

qcustomplot/qcustomplot.cpp:1803–1806  ·  view source on GitHub ↗

! This event gets called when the user turns the mouse scroll wheel while the cursor is over the layerable. Whether a cursor is over the layerable is decided by a preceding call to \ref selectTest. The current pixel position of the cursor on the QCustomPlot widget is accessible via \c event->pos(). The \c event->delta() indicates how far the mouse wheel was turned, which is usually +

Source from the content-addressed store, hash-verified

1801 \see mousePressEvent, mouseMoveEvent, mouseReleaseEvent, mouseDoubleClickEvent
1802*/
1803void QCPLayerable::wheelEvent(QWheelEvent *event)
1804{
1805 event->ignore();
1806}
1807/* end of 'src/layer.cpp' */
1808
1809

Callers

nothing calls this directly

Calls 11

orientationFunction · 0.85
rangeZoomMethod · 0.80
containsMethod · 0.80
rangeZoomAxesMethod · 0.80
rangeZoomFactorMethod · 0.80
atMethod · 0.80
scaleRangeMethod · 0.80
pixelToCoordMethod · 0.80
dataMethod · 0.80
replotMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected