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

Enhanced export dialog for v1.10.0 Phase 7. More...

#include <ExportDialog.hpp>

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

Classes

struct  ExportOptions
 

Public Member Functions

 ExportDialog (db::EventsContainer &events, EventsTableView *eventsView, QWidget *parent=nullptr)
 

Private Types

enum class  ExportFormat {
  CSV , JSON , XML , Markdown ,
  HTML , TSV
}
 

Private Slots

void OnFormatChanged (int index)
 
void OnSelectFields ()
 
void OnBrowse ()
 
void OnPreview ()
 
void OnExport ()
 

Private Member Functions

void BuildLayout ()
 
void UpdateFormatDescription ()
 
QString GeneratePreview ()
 

Private Attributes

db::EventsContainer & m_events
 
EventsTableView * m_eventsView
 
ExportOptions m_options
 
QComboBox * m_formatCombo {nullptr}
 
QLineEdit * m_pathEdit {nullptr}
 
QCheckBox * m_headersCheckbox {nullptr}
 
QCheckBox * m_selectedOnlyCheckbox {nullptr}
 
QCheckBox * m_statisticsCheckbox {nullptr}
 
QCheckBox * m_customTemplateCheckbox {nullptr}
 
QPlainTextEdit * m_templateEdit {nullptr}
 
QPlainTextEdit * m_previewEdit {nullptr}
 
QPushButton * m_selectFieldsBtn {nullptr}
 
QPushButton * m_browseBtn {nullptr}
 
QPushButton * m_previewBtn {nullptr}
 
QPushButton * m_exportBtn {nullptr}
 
QPushButton * m_cancelBtn {nullptr}
 

Detailed Description

Enhanced export dialog for v1.10.0 Phase 7.

Provides:

  • Multiple export formats (CSV, JSON, XML, Markdown, HTML, TSV)
  • Export options (headers, selected rows only, with statistics)
  • Custom field selection (choose which columns to export)
  • Template-based exports with custom formatting
  • Batch operations (export multiple ranges/filters)
  • Preview of first N rows before export

Member Enumeration Documentation

◆ ExportFormat

enum class ui::qt::ExportDialog::ExportFormat
strongprivate
Enumerator
CSV 
JSON 
XML 
Markdown 
HTML 
TSV 

Constructor & Destructor Documentation

◆ ExportDialog()

ui::qt::ExportDialog::ExportDialog ( db::EventsContainer &  events,
EventsTableView *  eventsView,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ BuildLayout()

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

◆ GeneratePreview()

QString ui::qt::ExportDialog::GeneratePreview ( )
private
Here is the caller graph for this function:

◆ OnBrowse

void ui::qt::ExportDialog::OnBrowse ( )
privateslot
Here is the caller graph for this function:

◆ OnExport

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

◆ OnFormatChanged

void ui::qt::ExportDialog::OnFormatChanged ( int  index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnPreview

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

◆ OnSelectFields

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

◆ UpdateFormatDescription()

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

Member Data Documentation

◆ m_browseBtn

QPushButton* ui::qt::ExportDialog::m_browseBtn {nullptr}
private

◆ m_cancelBtn

QPushButton* ui::qt::ExportDialog::m_cancelBtn {nullptr}
private

◆ m_customTemplateCheckbox

QCheckBox* ui::qt::ExportDialog::m_customTemplateCheckbox {nullptr}
private

◆ m_events

db::EventsContainer& ui::qt::ExportDialog::m_events
private

◆ m_eventsView

EventsTableView* ui::qt::ExportDialog::m_eventsView
private

◆ m_exportBtn

QPushButton* ui::qt::ExportDialog::m_exportBtn {nullptr}
private

◆ m_formatCombo

QComboBox* ui::qt::ExportDialog::m_formatCombo {nullptr}
private

◆ m_headersCheckbox

QCheckBox* ui::qt::ExportDialog::m_headersCheckbox {nullptr}
private

◆ m_options

ExportOptions ui::qt::ExportDialog::m_options
private

◆ m_pathEdit

QLineEdit* ui::qt::ExportDialog::m_pathEdit {nullptr}
private

◆ m_previewBtn

QPushButton* ui::qt::ExportDialog::m_previewBtn {nullptr}
private

◆ m_previewEdit

QPlainTextEdit* ui::qt::ExportDialog::m_previewEdit {nullptr}
private

◆ m_selectedOnlyCheckbox

QCheckBox* ui::qt::ExportDialog::m_selectedOnlyCheckbox {nullptr}
private

◆ m_selectFieldsBtn

QPushButton* ui::qt::ExportDialog::m_selectFieldsBtn {nullptr}
private

◆ m_statisticsCheckbox

QCheckBox* ui::qt::ExportDialog::m_statisticsCheckbox {nullptr}
private

◆ m_templateEdit

QPlainTextEdit* ui::qt::ExportDialog::m_templateEdit {nullptr}
private

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