[PyQt] Pythonic source equivalent

Phil Thompson phil at riverbankcomputing.com
Wed Feb 2 20:55:03 GMT 2011


On Wed, 2 Feb 2011 12:33:37 -0800, Entity Reborn <entityreborn at gmail.com>
wrote:
> Hello!
> First off i want to thank you guys for the hard work you have put into
> making PyQt a reality.
> 
> My question is this: would someone be able to provide me with a python
> version of QItemDelegate::paint(), such that i can paste it into my
> delegate and modify it?
> I realize this is a fairly lame request, yet my grasp of C++ and my
> translating skills are shoddy at best, nevermind the use of macros
> etc, which i do not understand.
> Im willing to provide more info upon request.

The settingseditor.py example includes a reimplementation of
QItemDelegate.paint().

Phil


More information about the PyQt mailing list