Replace the deprecated QWheelEvent::delta() -> QWheelEvent::angleDelta()


Replaced the deprecated QWheelEvent::delta() with the vertical component of
angle delta, assuming that it's acceptable to have a single-dimension
mouse wheel in the example code.

Task-number: QTBUG-76491
Change-Id: Ie05bb5934ce43976cd3cf009343d7b50ea327f14
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
commit57ba04b0f08fc2ae8654ad9aa7986e25edb4c2c3
parentb84c4ddddfacf624f73a67cc404e3b4c4b819ab5
authorSona Kurazyan <sona.kurazyan@qt.io>
committerSona Kurazyan <sona.kurazyan@qt.io>
commit timeMon, 26 Aug 2019 14:35:12 +0200