472 itm = topItem.child(index) |
472 itm = topItem.child(index) |
473 if ( |
473 if ( |
474 (self.actionButton.isChecked() and |
474 (self.actionButton.isChecked() and |
475 rx.search(itm.text(0)) is not None) or |
475 rx.search(itm.text(0)) is not None) or |
476 (self.shortcutButton.isChecked() and |
476 (self.shortcutButton.isChecked() and |
477 not txt.lower() in itm.text(1).lower() and |
477 txt.lower() not in itm.text(1).lower() and |
478 not txt.lower() in itm.text(2).lower()) |
478 txt.lower() not in itm.text(2).lower()) |
479 ): |
479 ): |
480 itm.setHidden(True) |
480 itm.setHidden(True) |
481 childHiddenCount += 1 |
481 childHiddenCount += 1 |
482 else: |
482 else: |
483 itm.setHidden(False) |
483 itm.setHidden(False) |