[PyQt] has anyone successfully implemented the color editor factory example?

David Boddie david at boddie.org.uk
Sun Oct 25 01:00:31 BST 2009

On Fri, 23 Oct 2009 17:32:30 -0400, Victor Noagbodji wrote:

> the example is the one described here:
> http://doc.qt.nokia.com/4.5/itemviews-coloreditorfactory.html
> it's not the example itself that i need, but how to use
> QItemEditorCreatorBase with pyqt. when i try to create a constructor
> for this class, i get the "the underlying c/c++ object is deleted"
> error everytime.

It sounds like you aren't calling the base class's __init__() method in
one of your subclasses. Can you show us the code?


More information about the PyQt mailing list