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

In-app Plugin Manager dialog (Tools > Manage Plugins…). More...

#include <PluginManagerDialog.hpp>

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

Public Member Functions

 PluginManagerDialog (QWidget *parent=nullptr)
 

Private Slots

void OnInstall ()
 
void OnUninstall ()
 
void OnEnable ()
 
void OnDisable ()
 
void OnAutoLoadToggled (bool checked)
 
void OnSetLicense ()
 
void OnRefresh ()
 
void OnSelectionChanged ()
 

Private Member Functions

void BuildUi ()
 
void PopulateTable ()
 
void UpdateDetails ()
 
void ClearDetails ()
 
QString StatusText (int status) const
 
QString TypeName (int type) const
 

Private Attributes

QTableWidget * m_table {nullptr}
 
QPushButton * m_installBtn {nullptr}
 
QPushButton * m_uninstallBtn {nullptr}
 
QPushButton * m_enableBtn {nullptr}
 
QPushButton * m_disableBtn {nullptr}
 
QPushButton * m_refreshBtn {nullptr}
 
QLabel * m_detailName {nullptr}
 
QLabel * m_detailId {nullptr}
 
QLabel * m_detailVersion {nullptr}
 
QLabel * m_detailAuthor {nullptr}
 
QLabel * m_detailType {nullptr}
 
QLabel * m_detailStatus {nullptr}
 
QLabel * m_detailLicense {nullptr}
 
QLabel * m_detailPath {nullptr}
 
QLabel * m_detailDesc {nullptr}
 
QCheckBox * m_autoLoadCheck {nullptr}
 
QLineEdit * m_licenseEdit {nullptr}
 
QPushButton * m_licenseBtn {nullptr}
 
QLabel * m_statusLabel {nullptr}
 

Detailed Description

In-app Plugin Manager dialog (Tools > Manage Plugins…).

Lists all plugins discovered in the plugins directory. Each row shows the plugin name, ID, version, type, and runtime status. Selecting a row populates the details pane below with author, description, path, license status, and auto-load preference.

Actions: Install — file picker → RegisterPlugin (extracts ZIP and loads) Uninstall — UnregisterPlugin for the selected plugin Enable — EnablePlugin (loads a registered-but-not-running plugin) Disable — DisablePlugin (unloads without removing the file) Auto-load — toggles SetPluginAutoLoad per-plugin Set License — applies a license key to the selected plugin Refresh — rescan the plugins directory and reload the table

Constructor & Destructor Documentation

◆ PluginManagerDialog()

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

Member Function Documentation

◆ BuildUi()

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

◆ ClearDetails()

void ui::qt::PluginManagerDialog::ClearDetails ( )
private
Here is the caller graph for this function:

◆ OnAutoLoadToggled

void ui::qt::PluginManagerDialog::OnAutoLoadToggled ( bool  checked)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnDisable

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

◆ OnEnable

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

◆ OnInstall

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

◆ OnRefresh

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

◆ OnSelectionChanged

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

◆ OnSetLicense

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

◆ OnUninstall

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

◆ PopulateTable()

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

◆ StatusText()

QString ui::qt::PluginManagerDialog::StatusText ( int  status) const
private
Here is the caller graph for this function:

◆ TypeName()

QString ui::qt::PluginManagerDialog::TypeName ( int  type) const
private
Here is the caller graph for this function:

◆ UpdateDetails()

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

Member Data Documentation

◆ m_autoLoadCheck

QCheckBox* ui::qt::PluginManagerDialog::m_autoLoadCheck {nullptr}
private

◆ m_detailAuthor

QLabel* ui::qt::PluginManagerDialog::m_detailAuthor {nullptr}
private

◆ m_detailDesc

QLabel* ui::qt::PluginManagerDialog::m_detailDesc {nullptr}
private

◆ m_detailId

QLabel* ui::qt::PluginManagerDialog::m_detailId {nullptr}
private

◆ m_detailLicense

QLabel* ui::qt::PluginManagerDialog::m_detailLicense {nullptr}
private

◆ m_detailName

QLabel* ui::qt::PluginManagerDialog::m_detailName {nullptr}
private

◆ m_detailPath

QLabel* ui::qt::PluginManagerDialog::m_detailPath {nullptr}
private

◆ m_detailStatus

QLabel* ui::qt::PluginManagerDialog::m_detailStatus {nullptr}
private

◆ m_detailType

QLabel* ui::qt::PluginManagerDialog::m_detailType {nullptr}
private

◆ m_detailVersion

QLabel* ui::qt::PluginManagerDialog::m_detailVersion {nullptr}
private

◆ m_disableBtn

QPushButton* ui::qt::PluginManagerDialog::m_disableBtn {nullptr}
private

◆ m_enableBtn

QPushButton* ui::qt::PluginManagerDialog::m_enableBtn {nullptr}
private

◆ m_installBtn

QPushButton* ui::qt::PluginManagerDialog::m_installBtn {nullptr}
private

◆ m_licenseBtn

QPushButton* ui::qt::PluginManagerDialog::m_licenseBtn {nullptr}
private

◆ m_licenseEdit

QLineEdit* ui::qt::PluginManagerDialog::m_licenseEdit {nullptr}
private

◆ m_refreshBtn

QPushButton* ui::qt::PluginManagerDialog::m_refreshBtn {nullptr}
private

◆ m_statusLabel

QLabel* ui::qt::PluginManagerDialog::m_statusLabel {nullptr}
private

◆ m_table

QTableWidget* ui::qt::PluginManagerDialog::m_table {nullptr}
private

◆ m_uninstallBtn

QPushButton* ui::qt::PluginManagerDialog::m_uninstallBtn {nullptr}
private

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