[PySide] I don't understand why I'm getting QPainter::begin: Widget painting can only begin as a result of a paintEvent - Stack Overflow

Kevin Cole dc.loco at gmail.com
Thu Dec 1 17:16:10 CET 2016

I'm stuck. I don't ever explicitly call paintEvent. I create a QPainter()
instance inside of a paintEvent method and I get that error. Reduced code
example at:


(I'm not really understanding the whole graphics framework. I still find
the coordinate system bafflingly unpredictable. And I don't know C++. So
the original Qt docs on line aren't much use to me.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20161201/b44b7a51/attachment.html>

More information about the PySide mailing list