is there a grid() function in Qwt > 5.0.0
Hi all!
I am currently porting a program from Qt3 to Qt4.
This program also uses the Qwt package 4.2.0, which i have to port to 5.0.2 too.
The problem now is, that there is a grid() function in Qwt 4.2.0 which returns the canvas grid, and in Qwt 5.0.2 I can't find this function anymore.
Can somebody help me?
Re: is there a grid() function in Qwt > 5.0.0
Re: is there a grid() function in Qwt > 5.0.0
Quote:
Originally Posted by
Uwe
hi uwe, i tried the code you mentioned, but the problem is, that the iterator points to a QwtPlotItem and not to a QwtPlotGrid, which i actually need, because i want to use the enableX and enableY function on it.
Quote:
Originally Posted by
Uwe
Or simply keep the grid as a member of your plot widget.
I'll try to use this approach.
BTW: Uwe like Uwe Rathmann? The developer of Qwt???
Re: is there a grid() function in Qwt > 5.0.0
Quote:
Originally Posted by
y.shan
... QwtPlotItem and not to a QwtPlotGrid
There is nothing wrong with using a cast ( as long as you are above 18).
Quote:
The developer of Qwt???
Sure,
Uwe