text : string
            The string to be used for pattern matching.
        status : int
            TODO: add description

def set_filter(self, text, status):
        """
        text : string
            The string to be used for pattern matching.
        status : int
            TODO: add description
        """
        self._filter_string = text.lower()
        self._filter_status = status
        self.invalidateFilter()