UI/Browser.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3484
645c12de6b0c
parent 3450
2f7c8fd8e3f5
child 3565
8e1cd7721515
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
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

eric ide

mercurial