33 from python_qt_binding.QtCore
import QDateTime
34 from .base_filter
import BaseFilter
40 Contains filter logic for a time filter. 41 If _stop_time_enabled is true then the message's time value must be between the dates provided 42 to be considered a match 43 If _stop_time_enabled is false then the time must simply be after _start_time 54 Setter for _start_time 55 :param time" start datetime for filter ''QDateTime'' 56 :emits filter_changed_signal: If _enabled is true 60 self.start_emit_timer()
65 :param time" stop datetime for filter ''QDateTime'' 66 :emits filter_changed_signal: If _enabled is true 70 self.start_emit_timer()
74 Setter for _stop_time_enabled 75 :param checked" boolean flag to set ''bool'' 76 :emits filter_changed_signal: If _enabled is true 80 self.start_emit_timer()
87 Tests if the message matches the filter. 88 If _stop_time_enabled is true then the message's time value must be between the dates 89 provided to be considered a match 90 If _stop_time_enabled is false then the time must simply be after _start_time 91 :param message: the message to be tested against the filters, ''Message'' 92 :returns: True if the message matches, ''bool'' 94 if not self.is_enabled():
96 message_time = message.get_stamp_as_qdatetime()
def set_stop_time(self, time)
def set_start_time(self, time)
def test_message(self, message)
def set_stop_time_enabled(self, checked)