[PyQt] Small fix
Julio César Gázquez
jcglists at igneosoluciones.com.ar
Fri May 21 03:52:16 BST 2010
Hello.
This is a small patch fixing setItemDelegateForColumn and
setItemDelegateForColumn.
I can't test it (my build is broken, I got a "QWidget: Must construct a
QApplication before a QPaintDevice"), but this patch makes those currently
broken functions like the similar, but working setItemDelegate.
As a workaround, keeping around a reference of a delegate (so the C++ object
isn't destroyed along the Python one) the functions work as intended.
Best regards.
--
Julio César Gázquez - Ingeniero en Sistemas
Igneo Soluciones
Redes - Asesoramiento - Desarrollos y Sistemas
www.igneosoluciones.com.ar - Tel: (341)-155-705517
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itemdelegateref.patch
Type: text/x-patch
Size: 894 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100520/41ce187b/attachment-0001.bin>
More information about the PyQt
mailing list