604 Public method to get a categorized count of selected items. |
604 Public method to get a categorized count of selected items. |
605 |
605 |
606 @param filter list of classes to check against |
606 @param filter list of classes to check against |
607 @return a dictionary containing the counts of items belonging |
607 @return a dictionary containing the counts of items belonging |
608 to the individual filter classes. The keys of the dictionary |
608 to the individual filter classes. The keys of the dictionary |
609 are the unicode representation of the classes given in the |
609 are the string representation of the classes given in the |
610 filter (i.e. unicode(filterClass)). The dictionary contains |
610 filter (i.e. str(filterClass)). The dictionary contains |
611 an additional entry with key "sum", that stores the sum of |
611 an additional entry with key "sum", that stores the sum of |
612 all selected entries fulfilling the filter criteria. |
612 all selected entries fulfilling the filter criteria. |
613 """ |
613 """ |
614 if filter is None: |
614 if filter is None: |
615 filter = self.selectedItemsFilter |
615 filter = self.selectedItemsFilter |