UI/Browser.py

changeset 3450
2f7c8fd8e3f5
parent 3357
2390df6f42ba
child 3515
1b8381afe38f
equal deleted inserted replaced
3449:aa2bd0199c64 3450:2f7c8fd8e3f5
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

eric ide

mercurial