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

Theme customization dialog for v1.10.0 Phase 8. More...

#include <ThemeCustomizationDialog.hpp>

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

Public Member Functions

 ThemeCustomizationDialog (QWidget *parent=nullptr)
 

Private Slots

void OnThemeChanged (int index)
 
void OnEditBackground ()
 
void OnEditForeground ()
 
void OnEditAccent ()
 
void OnEditError ()
 
void OnEditWarning ()
 
void OnEditSuccess ()
 
void OnSaveTheme ()
 
void OnLoadTheme ()
 
void OnReset ()
 
void OnApply ()
 

Private Member Functions

void BuildLayout ()
 
void UpdateColorPreview ()
 
void RefreshThemeList ()
 

Private Attributes

QComboBox * m_themeCombo {nullptr}
 
QPushButton * m_backgroundColorBtn {nullptr}
 
QPushButton * m_foregroundColorBtn {nullptr}
 
QPushButton * m_accentColorBtn {nullptr}
 
QPushButton * m_errorColorBtn {nullptr}
 
QPushButton * m_warningColorBtn {nullptr}
 
QPushButton * m_successColorBtn {nullptr}
 
QComboBox * m_fontFamilyCombo {nullptr}
 
QSpinBox * m_fontSizeSpinBox {nullptr}
 
QLabel * m_previewLabel {nullptr}
 
QPushButton * m_saveThemeBtn {nullptr}
 
QPushButton * m_loadThemeBtn {nullptr}
 
QPushButton * m_resetBtn {nullptr}
 
QPushButton * m_applyBtn {nullptr}
 

Detailed Description

Theme customization dialog for v1.10.0 Phase 8.

Allows users to:

  • Switch between predefined themes (Light, Dark, HighContrast)
  • Customize colors (background, foreground, accent, etc.)
  • Customize fonts for different components
  • Save/load custom themes
  • Preview changes in real-time

Constructor & Destructor Documentation

◆ ThemeCustomizationDialog()

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

Member Function Documentation

◆ BuildLayout()

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

◆ OnApply

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

◆ OnEditAccent

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

◆ OnEditBackground

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

◆ OnEditError

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

◆ OnEditForeground

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

◆ OnEditSuccess

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

◆ OnEditWarning

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

◆ OnLoadTheme

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

◆ OnReset

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

◆ OnSaveTheme

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

◆ OnThemeChanged

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

◆ RefreshThemeList()

void ui::qt::ThemeCustomizationDialog::RefreshThemeList ( )
private
Here is the caller graph for this function:

◆ UpdateColorPreview()

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

Member Data Documentation

◆ m_accentColorBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_accentColorBtn {nullptr}
private

◆ m_applyBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_applyBtn {nullptr}
private

◆ m_backgroundColorBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_backgroundColorBtn {nullptr}
private

◆ m_errorColorBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_errorColorBtn {nullptr}
private

◆ m_fontFamilyCombo

QComboBox* ui::qt::ThemeCustomizationDialog::m_fontFamilyCombo {nullptr}
private

◆ m_fontSizeSpinBox

QSpinBox* ui::qt::ThemeCustomizationDialog::m_fontSizeSpinBox {nullptr}
private

◆ m_foregroundColorBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_foregroundColorBtn {nullptr}
private

◆ m_loadThemeBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_loadThemeBtn {nullptr}
private

◆ m_previewLabel

QLabel* ui::qt::ThemeCustomizationDialog::m_previewLabel {nullptr}
private

◆ m_resetBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_resetBtn {nullptr}
private

◆ m_saveThemeBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_saveThemeBtn {nullptr}
private

◆ m_successColorBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_successColorBtn {nullptr}
private

◆ m_themeCombo

QComboBox* ui::qt::ThemeCustomizationDialog::m_themeCombo {nullptr}
private

◆ m_warningColorBtn

QPushButton* ui::qt::ThemeCustomizationDialog::m_warningColorBtn {nullptr}
private

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