Indeed - I'm afraid the only solution is to derive from QwtRoundScaleDraw overloading:
Qt Code:
To copy to clipboard, switch view to plain text mode
Then you have to assign this new scale draw instance using QwtPolarGrid::setAzimuthScaleDraw().
Uwe
Hi,
I suppose that I have to implement QwtPolarGrid::setAzimuthScaleDraw() method because I can't find it in qwtPolarGrid (qwt polar 4.5.2).
So I have to inherit from class qwtPolarGrid and QwtRoundScaleDraw ?
I have found this: http://www.qtcentre.org/threads/1639...RoundScaleDraw
But, It seems that it was an older version of qwtPolar because "setScaleDraw" is not present anymore.
Thanks !
Last edited by lokida; 4th April 2011 at 10:04.
Hi,
So, no one can Tell me what is the good method to use in order to pass virtual QwtText YourScaleDraw::label( double ) const implementation ?
Thanks a lot.
Download Qwt and QwtPolar from SVN trunk and reread my previous answer.
Uwe
Ok, I haven't got the svn version but the zip. So now I have the version from the svn but I have a question:
Where Should I declare QWT_INCLUDEPATH and QWT_LIBRARYPATH ?
In the INSTALL file it tells to modify these variable in qwtpolar.pri to set the Qwt paths.
But in this version there is qwtpolarbuild.pri and qwtpolarconfig.pri
I have tested in both pri files but always the same errors: It can't find headers files.
So where should I declare path to qwt libs and headers ?
Thanks.
So, Because I haven't found the way to resolve the good declaration of the to qwt for qwtPolar (using visual studio 2005 and qt 4.5.2), I declare the path in visual studio.
So, now I have a compilation error with #include <qwt_interval.h> that it can't find. I have seen that it is not in qwt 5.2.1 but it is in qwt 6 beta.
So, does the last version of the qwtpolar svn only work with qwt6 beta or can it be used with qwt 5.2.1 ?
Thanks.
Bookmarks