30 |
30 |
31 self.setFilterCaseSensitivity(Qt.CaseInsensitive) |
31 self.setFilterCaseSensitivity(Qt.CaseInsensitive) |
32 |
32 |
33 def filterAcceptsRow(self, sourceRow, sourceParent): |
33 def filterAcceptsRow(self, sourceRow, sourceParent): |
34 """ |
34 """ |
35 Protected method to determine, if the row is acceptable. |
35 Public method to determine, if the row is acceptable. |
36 |
36 |
37 @param sourceRow row number in the source model (integer) |
37 @param sourceRow row number in the source model (integer) |
38 @param sourceParent index of the source item (QModelIndex) |
38 @param sourceParent index of the source item (QModelIndex) |
39 @return flag indicating acceptance (boolean) |
39 @return flag indicating acceptance (boolean) |
40 """ |
40 """ |