QSlider - How to change tick color?
General and Desktop
4
Posts
3
Posters
5.5k
Views
1
Watching
-
stylesheet is the only option. You can look at "link":http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qslider for customizing slider
-
it's currently not possible to style the ticks with stylesheet!
The implementation is just missing (see QStyleSheetStyle::drawComplexControl() implementation).Edit:
Also see "this ":https://bugreports.qt-project.org/browse/QTBUG-3564 and "this ":https://bugreports.qt-project.org/browse/QTBUG-3304 bug-report.