def METHOD_NAME(self, filter_txt):
    def filter_list(list):
        for i in range(list.count()):
            if filter_txt != "":
                txt = list.item(i).text()
                list.item(i).setHidden(filter_txt not in txt)
            else:
                list.item(i).setHidden(False)
    filter_list(self.modules_list)
    filter_list(self.depends_modules_list)
    filter_list(self.unloaded_modules_list)