PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 502 - Delegate generated editor widget is killed on C++ before its time
: Delegate generated editor widget is killed on C++ before its time
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-11-26 14:22 EET by Marcelo Lira
Modified: 2011-01-06 16:19 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Lira 2010-11-26 14:22:43 EET
An instance of this problem is in the
pyside-examples/examples/widgets/icons/icons.py, where combo boxes created by
ImageDelegate (which inherits from QtGui.QItemDelegate) are killed in C++.

When the virtual method "ImageDelegate.setModelData(editor, model, index)" is
called from C++, the 'editor' argument comes as a QWidget instead of as the
previously created QComboBox.
Comment 1 Matti Airas 2010-11-29 05:50:01 EET
Thanks - prioritizing P3.
Comment 2 Marcelo Lira 2010-12-20 18:03:17 EET
Fixed in commit PySide/14a54058.
Comment 3 renato filho 2011-01-06 16:19:28 EET
released on beta3