|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
Helper class encapsulating filter and search operations for MainWindow. More...
#include <MainWindowFilterOpsHelper.hpp>

Public Member Functions | |
| MainWindowFilterOpsHelper (MainWindow *mainWindow) | |
| ~MainWindowFilterOpsHelper ()=default | |
| void | OnApplyFilterClicked () |
| void | OnExtendedFiltersChanged () |
| void | OnSearchRequested () |
| void | OnSearchResultActivated (long eventId) |
| void | ApplyExtendedFilters () |
| void | UpdateFilterStatus (int totalEvents, int filteredCount, const QString &filterName) |
| bool | HasActiveFilters () const |
| int | GetCurrentFilteredCount () const |
Private Member Functions | |
| void | ApplyFilterInternal () |
| void | RefreshFilterIndicators () |
Private Attributes | |
| MainWindow * | m_mainWindow |
| filters::FilterManager * | m_filterManager |
| db::EventsContainer * | m_eventsContainer |
| int | m_lastFilteredCount = 0 |
| QString | m_lastFilterName |
Helper class encapsulating filter and search operations for MainWindow.
Delegates filter/search operations from MainWindow, reducing its complexity. Manages:
Maintains reference to FilterManager for state management.
|
explicit |

|
default |
| void ui::qt::MainWindowFilterOpsHelper::ApplyExtendedFilters | ( | ) |

|
private |


|
inline |
| bool ui::qt::MainWindowFilterOpsHelper::HasActiveFilters | ( | ) | const |

| void ui::qt::MainWindowFilterOpsHelper::OnApplyFilterClicked | ( | ) |

| void ui::qt::MainWindowFilterOpsHelper::OnExtendedFiltersChanged | ( | ) |

| void ui::qt::MainWindowFilterOpsHelper::OnSearchRequested | ( | ) |

| void ui::qt::MainWindowFilterOpsHelper::OnSearchResultActivated | ( | long | eventId | ) |

|
private |


| void ui::qt::MainWindowFilterOpsHelper::UpdateFilterStatus | ( | int | totalEvents, |
| int | filteredCount, | ||
| const QString & | filterName | ||
| ) |

|
private |
|
private |
|
private |
|
private |
|
private |