69 std::string
field {
"timestamp"};
80 [[nodiscard]] State
GetState()
const;
High-performance, thread-safe container for managing large collections of LogEvent objects.
Definition EventsContainer.hpp:129
Definition EventsTableView.hpp:29
Panel for filtering events by a timestamp range.
Definition TimeRangeFilterPanel.hpp:62
void FilterApplied()
Emitted after the filter has been applied to the events view.
db::EventsContainer & m_events
Definition TimeRangeFilterPanel.hpp:109
std::vector< unsigned long > ComputeMatchingIndices() const
Scans all events and returns indices whose timestamp falls in [from, to].
Definition TimeRangeFilterPanel.cpp:253
QLineEdit * m_fromEdit
Definition TimeRangeFilterPanel.hpp:113
void BuildLayout()
Definition TimeRangeFilterPanel.cpp:35
void HandleAutoDetect()
Definition TimeRangeFilterPanel.cpp:143
State GetState() const
Returns the current widget state (field, from, to, active).
Definition TimeRangeFilterPanel.cpp:106
QLineEdit * m_toEdit
Definition TimeRangeFilterPanel.hpp:114
void HandleClear()
Definition TimeRangeFilterPanel.cpp:228
EventsTableView * m_eventsView
Definition TimeRangeFilterPanel.hpp:110
void HandleApply()
Definition TimeRangeFilterPanel.cpp:185
void FilterCleared()
Emitted after the filter has been cleared.
QComboBox * m_fieldCombo
Definition TimeRangeFilterPanel.hpp:112
void Clear()
Clears the time-range filter (shows all events).
Definition TimeRangeFilterPanel.cpp:134
void SetState(const State &s)
Restores state from a profile. Does NOT automatically apply the filter.
Definition TimeRangeFilterPanel.cpp:116
bool m_active
Definition TimeRangeFilterPanel.hpp:116
void Apply()
Applies the filter to the events view immediately.
Definition TimeRangeFilterPanel.cpp:129
QLabel * m_statusLabel
Definition TimeRangeFilterPanel.hpp:115
Database and data model components for the LogViewer application.
Definition EventsContainer.cpp:17
Definition ConfigEditorDialog.cpp:19
Plain-data snapshot of the panel state — used by filter profiles.
Definition TimeRangeFilterPanel.hpp:68
bool active
Definition TimeRangeFilterPanel.hpp:72
std::string field
Definition TimeRangeFilterPanel.hpp:69
std::string to
inclusive upper bound, empty = no upper bound
Definition TimeRangeFilterPanel.hpp:71
std::string from
inclusive lower bound, empty = no lower bound
Definition TimeRangeFilterPanel.hpp:70