[PyQt] QStandardItemEditorCreator missing

Baz Walter bazwal at ftml.net
Thu Nov 25 21:24:02 GMT 2010


On 25/11/10 17:23, Hans-Peter Jansen wrote:
> Unfortunately, it's still not behaving right: the color chooser is
> created and shown correctly on double click, one can choose another
> value, but that isn't supplied back into the table correctly, although
> the property getter _is_ called and given the new value.
>
> What am I missing?

i posted a working example of this about a year ago:

http://www.riverbankcomputing.com/pipermail/pyqt/2009-October/024866.html

i'm absolutely certain it worked correctly at the time, but it now seems 
to have the same problem yours has.

for some reason, the findData method in ColorListEditor.setColor is 
failing to find the QVariant.Color in the list (it always returns -1).


More information about the PyQt mailing list