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

#include <FiltersPanel.hpp>

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

Signals

void RequestApplyFilters ()
 

Public Member Functions

 FiltersPanel (QWidget *parent=nullptr)
 
void RefreshFilters ()
 

Private Slots

void HandleAdd ()
 
void HandleEdit ()
 
void HandleRemove ()
 
void HandleApply ()
 
void HandleClear ()
 
void HandleSaveAs ()
 
void HandleLoad ()
 
void HandleItemChanged (QTableWidgetItem *item)
 
void HandleSelectionChanged ()
 

Private Member Functions

void BuildUi ()
 
void ToggleControls ()
 
void HandleFilterResult (const filters::FilterResult &result, const QString &context, bool showDialog=false)
 
QString FilterTargetText (const filters::Filter &filter) const
 
QString SelectedFilterName () const
 

Private Attributes

QTableWidget * m_table {nullptr}
 
QPushButton * m_addButton {nullptr}
 
QPushButton * m_editButton {nullptr}
 
QPushButton * m_removeButton {nullptr}
 
QPushButton * m_applyButton {nullptr}
 
QPushButton * m_clearButton {nullptr}
 
QPushButton * m_saveAsButton {nullptr}
 
QPushButton * m_loadButton {nullptr}
 

Constructor & Destructor Documentation

◆ FiltersPanel()

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

Member Function Documentation

◆ BuildUi()

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

◆ FilterTargetText()

QString ui::qt::FiltersPanel::FilterTargetText ( const filters::Filter &  filter) const
private
Here is the caller graph for this function:

◆ HandleAdd

void ui::qt::FiltersPanel::HandleAdd ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleApply

void ui::qt::FiltersPanel::HandleApply ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleClear

void ui::qt::FiltersPanel::HandleClear ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleEdit

void ui::qt::FiltersPanel::HandleEdit ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleFilterResult()

void ui::qt::FiltersPanel::HandleFilterResult ( const filters::FilterResult &  result,
const QString &  context,
bool  showDialog = false 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleItemChanged

void ui::qt::FiltersPanel::HandleItemChanged ( QTableWidgetItem *  item)
privateslot
Here is the caller graph for this function:

◆ HandleLoad

void ui::qt::FiltersPanel::HandleLoad ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleRemove

void ui::qt::FiltersPanel::HandleRemove ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleSaveAs

void ui::qt::FiltersPanel::HandleSaveAs ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleSelectionChanged

void ui::qt::FiltersPanel::HandleSelectionChanged ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RefreshFilters()

void ui::qt::FiltersPanel::RefreshFilters ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RequestApplyFilters

void ui::qt::FiltersPanel::RequestApplyFilters ( )
signal
Here is the caller graph for this function:

◆ SelectedFilterName()

QString ui::qt::FiltersPanel::SelectedFilterName ( ) const
private
Here is the caller graph for this function:

◆ ToggleControls()

void ui::qt::FiltersPanel::ToggleControls ( )
private
Here is the caller graph for this function:

Member Data Documentation

◆ m_addButton

QPushButton* ui::qt::FiltersPanel::m_addButton {nullptr}
private

◆ m_applyButton

QPushButton* ui::qt::FiltersPanel::m_applyButton {nullptr}
private

◆ m_clearButton

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

◆ m_editButton

QPushButton* ui::qt::FiltersPanel::m_editButton {nullptr}
private

◆ m_loadButton

QPushButton* ui::qt::FiltersPanel::m_loadButton {nullptr}
private

◆ m_removeButton

QPushButton* ui::qt::FiltersPanel::m_removeButton {nullptr}
private

◆ m_saveAsButton

QPushButton* ui::qt::FiltersPanel::m_saveAsButton {nullptr}
private

◆ m_table

QTableWidget* ui::qt::FiltersPanel::m_table {nullptr}
private

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