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 569 - QTableWidgetItem is missing binding of __lt__ to operator<
: QTableWidgetItem is missing binding of __lt__ to operator<
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: 1.0.0 beta2
: All All
: P3 normal
Assigned To: Hugo Parente Lima
:
: 495
:
  Show dependency treegraph
 
Reported: 2010-12-23 14:07 EET by Nathan
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 Nathan 2010-12-23 14:07:38 EET
The QTableWidgetItem does not appear to have the __lt__ operator, which
prevents one from deriving a class and providing custom sorting.

See the example provided at
http://stackoverflow.com/questions/2304199/how-to-sort-a-qtablewidget-with-my-own-code.
Comment 1 Hugo Parente Lima 2010-12-27 14:48:51 EET
It's a well known bug in our toolchain, I wont mark it as duplicated because we
need to remenber to un-remove the operator< method from typesystem after bug
494 gets closed.

Thanks for reporting.
Comment 2 Hugo Parente Lima 2010-12-28 17:27:07 EET
Oops, I meant, bug 495, not bug 494
Comment 3 Hugo Parente Lima 2010-12-28 19:53:19 EET
Same problem for QListWidgetItem and QTreeWidgetItem.

Problem solved, just waiting gitorious return from the death...
Comment 4 Hugo Parente Lima 2010-12-29 10:18:57 EET
Fixed in commit:
pyside/7810dcd829d9435406b9b89ebcd56affab2c8dc7
Comment 5 renato filho 2011-01-06 16:19:34 EET
released on beta3