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