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

Dialog shown when loading a new log file while data already exists. More...

#include <LogFileLoadDialog.hpp>

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

Public Types

enum class  LoadMode { Replace , Merge , SideBySide }
 

Public Member Functions

 LogFileLoadDialog (const QString &filePath, QWidget *parent=nullptr)
 
LoadMode GetLoadMode () const
 
QString GetNewFileAlias () const
 
QString GetExistingFileAlias () const
 

Private Attributes

QRadioButton * m_replaceRadio {nullptr}
 
QRadioButton * m_mergeRadio {nullptr}
 
QRadioButton * m_sideBySideRadio {nullptr}
 
QLineEdit * m_newFileAliasEdit {nullptr}
 
QLineEdit * m_existingFileAliasEdit {nullptr}
 

Detailed Description

Dialog shown when loading a new log file while data already exists.

Allows user to choose between:

  • Replace: Clear existing data and load new file
  • Merge: Combine logs by timestamp with source tracking

Member Enumeration Documentation

◆ LoadMode

Enumerator
Replace 
Merge 
SideBySide 

Constructor & Destructor Documentation

◆ LogFileLoadDialog()

ui::qt::LogFileLoadDialog::LogFileLoadDialog ( const QString &  filePath,
QWidget *  parent = nullptr 
)
explicit

Member Function Documentation

◆ GetExistingFileAlias()

QString ui::qt::LogFileLoadDialog::GetExistingFileAlias ( ) const
Here is the caller graph for this function:

◆ GetLoadMode()

LogFileLoadDialog::LoadMode ui::qt::LogFileLoadDialog::GetLoadMode ( ) const
Here is the caller graph for this function:

◆ GetNewFileAlias()

QString ui::qt::LogFileLoadDialog::GetNewFileAlias ( ) const
Here is the caller graph for this function:

Member Data Documentation

◆ m_existingFileAliasEdit

QLineEdit* ui::qt::LogFileLoadDialog::m_existingFileAliasEdit {nullptr}
private

◆ m_mergeRadio

QRadioButton* ui::qt::LogFileLoadDialog::m_mergeRadio {nullptr}
private

◆ m_newFileAliasEdit

QLineEdit* ui::qt::LogFileLoadDialog::m_newFileAliasEdit {nullptr}
private

◆ m_replaceRadio

QRadioButton* ui::qt::LogFileLoadDialog::m_replaceRadio {nullptr}
private

◆ m_sideBySideRadio

QRadioButton* ui::qt::LogFileLoadDialog::m_sideBySideRadio {nullptr}
private

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