How to add tick marks in QML Slider
-
wrote on 20 Mar 2023, 07:07 last edited by
In Qt 5, there was an option to add tick marks for QML slider (tickmarksEnabled). Also , SliderStyle option to customize the tick mark.
In Qt 6, both the options is not available. How to achieve tick mark and custom labeling to to tick mark in qt 6?
-
wrote on 17 Apr 2023, 09:24 last edited by
I have the same problem!
@Prasoon-P said in How to add tick marks in QML Slider:
In Qt 5, there was an option to add tick marks for QML slider (tickmarksEnabled). Also , SliderStyle option to customize the tick mark.
In Qt 6, both the options is not available. How to achieve tick mark and custom labeling to to tick mark in qt 6?
-
wrote on 17 Apr 2023, 09:40 last edited by
Maybe this helps......https://stackoverflow.com/questions/75830710/create-slider-tickmarks-in-qt6
-
wrote on 17 Apr 2023, 11:22 last edited by
Setting the ticks as part of the background feels a bit like a dirty trick... This is definitively a step backwards compared to what we had in Qt 5.15.