33 from .base_filter
import BaseFilter
35 from python_qt_binding.QtCore
import Qt
41 Contains filter logic for a severity filter. 42 If the message's severity text matches any of the text in the stored list 43 then it is considered a match. 47 super(SeverityFilter, self).
__init__()
52 Setter for selected items. 53 :param list_: list of items to store for filtering ''list of QListWidgetItem'' 54 :emits filter_changed_signal: If _enabled is true 65 Tests if the message matches the filter. 66 If the message's severity text matches any of the text in the stored list 67 then it is considered a match. 68 :param message: the message to be tested against the filters, ''Message'' 69 :returns: True if the message matches, ''bool'' 74 if message.severity == item.data(Qt.UserRole):
def test_message(self, message)
def set_selected_items(self, items)
def start_emit_timer(self, msec=None)