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 164 - __len__() function missing in QItemSelection
: __len__() function missing in QItemSelection
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-02-23 12:27 EET by Bruno Araujo
Modified: 2010-03-24 14:41 EET (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Araujo 2010-02-23 12:27:03 EET
This functions is present in boost and pyqt4, but not in shiboken. Example
itemviews/chart/chart.oy uses it, just click in a slice:

Traceback (most recent call last):
  File "chart.py", line 432, in visualRegionForSelection
    ranges = len(selection)
TypeError: object of type 'QItemSelection' has no len()
Comment 1 Luciano Wolf 2010-02-26 16:56:51 EET
Fixed on commit #c7199a6ecbe5d4daf95f0e4629ea6cac4526cc19
Comment 2 Luciano Wolf 2010-02-26 17:01:45 EET
Closing