[SOLVED] Wheel Scroller
-
I'm wondering whether there is a "Wheel Scoller Example.":http://doc.qt.io/qt-5/qtwebkitexamples-webkitwidgets-scroller-wheel-example.html in qml.
Does somebody have qny experiance with a pure qml implementation?
Or is it necessary to implement a own qml widget for that?
Regards,
Thmas -
It should be possible using a ListView therefore you can do it QML only.
-
Yes, this is possible usign ListView. Check out these properties:
@
ListView {
highlightRangeMode: ListView.StrictlyEnforceRange
preferredHighlightBegin
preferredHighlightEnd
highlight
}
@Basically, you need to use StrictlyEnforceRange to keep your highlight in check. Then you need to make sure you position your highlight well using prefferedHighlightBegin and End properties.