def search_noteitems(self, search_object):
        for nw in self.all_items:
            if not search_object.search_notemodel(nw.notemodel):
                nw.setHidden(True)
            else:
                nw.setHidden(False)
        try:
            self.setCurrentItem(self.all_visible_items[0])
            return True
        except __HOLE__:
            # no items found
            self.setCurrentRow(-1)
            return False
dataset/ETHPy150Open akehrer/Motome/Motome/Models/NoteListWidget.py/NoteListWidget.search_noteitems