A QwtScaleDiv contains the upper/lower bounds and the positions of the ticks of a scale. You can define an individual one, or calculate a regular scale using a QwtScaleEngine.
A QwtScaleDraw is responsible for drawing the scale. You can modify the tick labels and tick lengths here.
In Qt4 QwtValueList is simply a QList<double> ( look into qwt_valuelist.h ). The only intention behind this declaration is to hide Qt3/Qt4 incompatibilities.
Uwe
Hi all,
I solved the problem by using QwtScaleEngine. I created a linearscaleengine object and set the scales with divideScale method. this returns a QScaleDiv object. Then i used the QwtScaleDiv::setScaleDiv method and it is done.
Bookmarks