PDA

View Full Version : QWT 5.2.0. Label on knob.



dima154
10th October 2009, 04:46
Hello! I use QWT 5.2. I want to exchange scale label on knob from numbers to text. How I can do it?

Uwe
11th October 2009, 09:40
Suclass QwtRoundScaleDraw object and implement YourRoundScaleDraw::label().Then pass it to the knob with QwtKnob::setScaleDraw().

Uwe