Panel for filtering events by a timestamp range.
More...
#include <TimeRangeFilterPanel.hpp>
|
| struct | State |
| | Plain-data snapshot of the panel state — used by filter profiles. More...
|
| |
|
| void | FilterApplied () |
| | Emitted after the filter has been applied to the events view.
|
| |
| void | FilterCleared () |
| | Emitted after the filter has been cleared.
|
| |
Panel for filtering events by a timestamp range.
The user selects a timestamp field name, then specifies optional "from" and "to" bounds (ISO-format strings). The filter is applied by string comparison, so any lexicographically-ordered timestamp format (ISO 8601 etc.) works correctly.
Applying the filter calls EventsTableView::SetFilteredEvents() directly and emits FilterApplied() so that dependent panels (e.g. ActorsPanel) can refresh against the new visible set.
◆ TimeRangeFilterPanel()
◆ Apply()
| void ui::qt::TimeRangeFilterPanel::Apply |
( |
| ) |
|
Applies the filter to the events view immediately.
◆ BuildLayout()
| void ui::qt::TimeRangeFilterPanel::BuildLayout |
( |
| ) |
|
|
private |
◆ Clear()
| void ui::qt::TimeRangeFilterPanel::Clear |
( |
| ) |
|
Clears the time-range filter (shows all events).
◆ ComputeMatchingIndices()
| std::vector< unsigned long > ui::qt::TimeRangeFilterPanel::ComputeMatchingIndices |
( |
| ) |
const |
|
private |
Scans all events and returns indices whose timestamp falls in [from, to].
◆ FilterApplied
| void ui::qt::TimeRangeFilterPanel::FilterApplied |
( |
| ) |
|
|
signal |
Emitted after the filter has been applied to the events view.
◆ FilterCleared
| void ui::qt::TimeRangeFilterPanel::FilterCleared |
( |
| ) |
|
|
signal |
Emitted after the filter has been cleared.
◆ GetState()
Returns the current widget state (field, from, to, active).
◆ HandleApply
| void ui::qt::TimeRangeFilterPanel::HandleApply |
( |
| ) |
|
|
privateslot |
◆ HandleAutoDetect
| void ui::qt::TimeRangeFilterPanel::HandleAutoDetect |
( |
| ) |
|
|
privateslot |
◆ HandleClear
| void ui::qt::TimeRangeFilterPanel::HandleClear |
( |
| ) |
|
|
privateslot |
◆ SetState()
| void ui::qt::TimeRangeFilterPanel::SetState |
( |
const State & |
s | ) |
|
Restores state from a profile. Does NOT automatically apply the filter.
◆ m_active
| bool ui::qt::TimeRangeFilterPanel::m_active {false} |
|
private |
◆ m_events
◆ m_eventsView
◆ m_fieldCombo
| QComboBox* ui::qt::TimeRangeFilterPanel::m_fieldCombo {nullptr} |
|
private |
◆ m_fromEdit
| QLineEdit* ui::qt::TimeRangeFilterPanel::m_fromEdit {nullptr} |
|
private |
◆ m_statusLabel
| QLabel* ui::qt::TimeRangeFilterPanel::m_statusLabel {nullptr} |
|
private |
◆ m_toEdit
| QLineEdit* ui::qt::TimeRangeFilterPanel::m_toEdit {nullptr} |
|
private |
The documentation for this class was generated from the following files: