Hi,
how can I get the exatly width (see the picture) between the QwtSlider widget bounding and the scale oprigin position (e.g. 0)?
width.JPG
Hi,
how can I get the exatly width (see the picture) between the QwtSlider widget bounding and the scale oprigin position (e.g. 0)?
width.JPG
The QwtScaleDraw object of the slider knows the ticks and how to map a value to its widget position.
Uwe
ok...but when I try to use the method const QwtScaleDraw * scaleDraw () const, comiling I have an error, the compiler recognize it as private!
Obviously you want to access the non const method, that is private. Call the const method instead.
Uwe
Bookmarks