Hello,
does anyone know how can display a custom set of labels for the different ticks?
I would not like to use qwt!
Thanks
Hello,
does anyone know how can display a custom set of labels for the different ticks?
I would not like to use qwt!
Thanks
You can subclass QSlider and draw the tickmark labels yourself in its paintEvent.
I don't think there is another way, besides creating a style for your slider.
You could copy the relevant code from Qwt. They must be doing the same thing.
Regards
QwtSlider is much older than QSlider. (The first release of Qwt was developed for Qt 1.1). So it completely unrelated to QSlider.
Uwe
Well, I guess this makes it even harder.
Regards
Bookmarks