|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
Configuration panel for AI settings. More...
#include <AIConfigPanel.hpp>
Signals | |
| void | ConfigurationChanged () |
Public Member Functions | |
| AIConfigPanel (std::shared_ptr< ai::AIServiceWrapper > aiService, std::shared_ptr< ai::LogAnalyzer > analyzer, QWidget *parent=nullptr) | |
| ai::LogAnalyzer::AnalysisType | GetAnalysisType () const |
| int | GetMaxEvents () const |
| std::shared_ptr< ai::AIServiceWrapper > | GetAIService () const |
| std::shared_ptr< ai::LogAnalyzer > | GetAnalyzer () const |
| void | RefreshAIClient () |
| void | SavePluginConfig () |
| nlohmann::json | LoadPluginConfig () |
Private Slots | |
| void | OnProviderChanged (int index) |
| void | OnModelChanged (int index) |
| void | OnRefreshModels () |
| void | OnShowInstalledModels () |
Private Member Functions | |
| void | BuildUi () |
| void | UpdateStatusLabel () |
| void | PopulateModelList () |
Private Attributes | |
| std::shared_ptr< ai::AIServiceWrapper > | m_aiService |
| std::shared_ptr< ai::LogAnalyzer > | m_analyzer |
| QComboBox * | m_providerCombo {nullptr} |
| QComboBox * | m_modelCombo {nullptr} |
| QComboBox * | m_analysisTypeCombo {nullptr} |
| QSpinBox * | m_maxEventsSpin {nullptr} |
| QSpinBox * | m_timeoutSpin {nullptr} |
| QLabel * | m_statusLabel {nullptr} |
| QLineEdit * | m_baseUrlEdit {nullptr} |
| QLineEdit * | m_openaiKeyEdit {nullptr} |
| QLineEdit * | m_anthropicKeyEdit {nullptr} |
| QLineEdit * | m_googleKeyEdit {nullptr} |
| QLineEdit * | m_xaiKeyEdit {nullptr} |
Configuration panel for AI settings.
|
explicit |
|
private |
|
signal |
|
inline |
| ai::LogAnalyzer::AnalysisType ui::qt::AIConfigPanel::GetAnalysisType | ( | ) | const |
|
inline |
| int ui::qt::AIConfigPanel::GetMaxEvents | ( | ) | const |
| nlohmann::json ui::qt::AIConfigPanel::LoadPluginConfig | ( | ) |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
| void ui::qt::AIConfigPanel::RefreshAIClient | ( | ) |
| void ui::qt::AIConfigPanel::SavePluginConfig | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |