[PyKDE] QCanvasItem constructor

Jesper Eskilson jojo at virtutech.se
Mon Dec 4 13:39:17 GMT 2000

Philippe Fremy <fremy at yalbi.com>(by way of Philippe Fremy <fremy at yalbi.com>) writes:

> The Qt doc states that one should not inherit from QCanvasItem, so this
> it isn't a bug and doesn't require C++ hacking knowledge :-)
> "Note that you cannot easily subclass QCanvasItem yourself - the API is too
> low-level. Instead, you should subclass QCanvasPolygonalItem, or perhaps
> QCanvasRectangle or QCanvasSprite."

"should not" is different from "cannot easily".

Jesper Eskilson                                         jojo at virtutech.se
Virtutech                                         http://www.virtutech.se

More information about the PyQt mailing list