Hello !
I am working on an application using QwtPlot displaying technical drawings with a probability scale.
There is a way to implemente a probability scale ?
Thanks in advance,
Lister
Hello !
I am working on an application using QwtPlot displaying technical drawings with a probability scale.
There is a way to implemente a probability scale ?
Thanks in advance,
Lister
Start with QwtScaleWidget with a range of 0-1. Depending on the orientation of the scale you can align a second widget with the stuff you want to display on the widget. Another option is to resize the scale widget becond the size it needs and to paint into the empty space.
With scaleWidget()->scaleDraw()->map() you can calculate the pixel positions that correspond to scale values.
HTH,
Uwe
Bookmarks