Custom Slider implementation
Solved
QML and Qt Quick
-
wrote on 10 Nov 2020, 07:45 last edited by Vinoth Rajendran4 11 Oct 2020, 07:45
-
Documentation shows how to do it: https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-slider or using range slider https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-rangeslider.
For each tick, you can simply draw it using Rectangle:
Rectangle { width: 6 height: 6 radius: 3 }
You can instantiate them with some Repeater.
-
Documentation shows how to do it: https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-slider or using range slider https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-rangeslider.
For each tick, you can simply draw it using Rectangle:
Rectangle { width: 6 height: 6 radius: 3 }
You can instantiate them with some Repeater.
wrote on 18 Nov 2020, 10:46 last edited by@sierdzio , Thanks .. I used the repeater to implement