LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
ui::qt::FilterStatusBar Class Reference

Status bar widget showing active filters and match counts. More...

#include <FilterStatusBar.hpp>

Inheritance diagram for ui::qt::FilterStatusBar:
Inheritance graph
Collaboration diagram for ui::qt::FilterStatusBar:
Collaboration graph

Signals

void ClearAllFiltersRequested ()
 

Public Member Functions

 FilterStatusBar (QWidget *parent=nullptr)
 
void UpdateFilterStatus (int totalEvents, int filteredCount, int activeFilterCount, const QString &filterDetails)
 Update the status bar with filter information.
 
void ClearStatus ()
 Show that all events are visible (no filtering).
 

Private Member Functions

void CreateLayout ()
 

Private Attributes

QLabel * m_statusLabel {nullptr}
 
QPushButton * m_clearButton {nullptr}
 

Detailed Description

Status bar widget showing active filters and match counts.

Displays:

  • Number of active filters
  • Total events vs. filtered results
  • List of active filter types
  • Clear all button

Example: "📊 2 filters active | 1,234 / 50,000 events | Type: ERROR,WARN"

Constructor & Destructor Documentation

◆ FilterStatusBar()

ui::qt::FilterStatusBar::FilterStatusBar ( QWidget *  parent = nullptr)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ ClearAllFiltersRequested

void ui::qt::FilterStatusBar::ClearAllFiltersRequested ( )
signal
Here is the caller graph for this function:

◆ ClearStatus()

void ui::qt::FilterStatusBar::ClearStatus ( )

Show that all events are visible (no filtering).

Here is the caller graph for this function:

◆ CreateLayout()

void ui::qt::FilterStatusBar::CreateLayout ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateFilterStatus()

void ui::qt::FilterStatusBar::UpdateFilterStatus ( int  totalEvents,
int  filteredCount,
int  activeFilterCount,
const QString &  filterDetails 
)

Update the status bar with filter information.

Parameters
totalEventsTotal number of events in container
filteredCountNumber of events matching current filters
activeFilterCountNumber of active filters
filterDetailsDescription of active filters (e.g., "Type: ERROR,WARN")
Here is the call graph for this function:

Member Data Documentation

◆ m_clearButton

QPushButton* ui::qt::FilterStatusBar::m_clearButton {nullptr}
private

◆ m_statusLabel

QLabel* ui::qt::FilterStatusBar::m_statusLabel {nullptr}
private

The documentation for this class was generated from the following files: