Bumping this....I'm still getting these warnings on resize events but
otherwise my app seems normal.

BZ

On Fri, Jul 22, 2011 at 12:36 AM, Brian Zambrano <bri...@gmail.com> wrote:

> I'm attempting to use flot, a jquery/javascript plotting library to draw
> plots in a QWebView.  Everything goes well except that I need to resize the
> plot as the window resizes.  I'm doing this in Javascript, of course.  Once
> the resize occurs and my redraw callback fires, I get a warning over and
> over:
>
> QPainter::end: Painter ended with 2 saved states
>
> A short program program to reproduce the issue is here:
> http://pastebin.com/tA4xSMLC
>
> When I comment out the redrawing javascript code, which is using the canvas
> tag, the warnings disappear.  I suspect it's something with the canvas
> element.
>
> Is that warning something to be concerned about?
>
> BZ
>
>
>
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to