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

Helper class encapsulating export and reporting operations for MainWindow. More...

#include <MainWindowExportOpsHelper.hpp>

Collaboration diagram for ui::qt::MainWindowExportOpsHelper:
Collaboration graph

Public Member Functions

 MainWindowExportOpsHelper (MainWindow *mainWindow)
 
 ~MainWindowExportOpsHelper ()=default
 
void OnExportCsvRequested ()
 
void OnExportJsonRequested ()
 
void OnExportXmlRequested ()
 
void OnGenerateReportFromDashboard ()
 
QString GetLastExportPath () const
 
void SetLastExportPath (const QString &path)
 

Private Member Functions

void PerformExport (const QString &format)
 
bool ValidateExportPath (const QString &path) const
 

Private Attributes

MainWindow * m_mainWindow
 
db::EventsContainer * m_eventsContainer
 
QString m_lastExportPath
 

Detailed Description

Helper class encapsulating export and reporting operations for MainWindow.

Delegates export/reporting operations from MainWindow, reducing its complexity. Manages:

  • CSV export
  • JSON export
  • XML export
  • Report generation

Coordinates with ExportManager for actual export operations.

Constructor & Destructor Documentation

◆ MainWindowExportOpsHelper()

ui::qt::MainWindowExportOpsHelper::MainWindowExportOpsHelper ( MainWindow *  mainWindow)
explicit
Here is the call graph for this function:

◆ ~MainWindowExportOpsHelper()

ui::qt::MainWindowExportOpsHelper::~MainWindowExportOpsHelper ( )
default

Member Function Documentation

◆ GetLastExportPath()

QString ui::qt::MainWindowExportOpsHelper::GetLastExportPath ( ) const
inline

◆ OnExportCsvRequested()

void ui::qt::MainWindowExportOpsHelper::OnExportCsvRequested ( )
Here is the call graph for this function:

◆ OnExportJsonRequested()

void ui::qt::MainWindowExportOpsHelper::OnExportJsonRequested ( )
Here is the call graph for this function:

◆ OnExportXmlRequested()

void ui::qt::MainWindowExportOpsHelper::OnExportXmlRequested ( )
Here is the call graph for this function:

◆ OnGenerateReportFromDashboard()

void ui::qt::MainWindowExportOpsHelper::OnGenerateReportFromDashboard ( )
Here is the call graph for this function:

◆ PerformExport()

void ui::qt::MainWindowExportOpsHelper::PerformExport ( const QString &  format)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetLastExportPath()

void ui::qt::MainWindowExportOpsHelper::SetLastExportPath ( const QString &  path)
inline

◆ ValidateExportPath()

bool ui::qt::MainWindowExportOpsHelper::ValidateExportPath ( const QString &  path) const
private
Here is the caller graph for this function:

Member Data Documentation

◆ m_eventsContainer

db::EventsContainer* ui::qt::MainWindowExportOpsHelper::m_eventsContainer
private

◆ m_lastExportPath

QString ui::qt::MainWindowExportOpsHelper::m_lastExportPath
private

◆ m_mainWindow

MainWindow* ui::qt::MainWindowExportOpsHelper::m_mainWindow
private

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