dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
System Health Plugin

The System Health gadget plugin. More...

Namespaces

 Core
 The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS.
 
 Ui
 

Classes

class  SystemHealthGadget
 
class  SystemHealthGadgetConfiguration
 
class  SystemHealthGadgetFactory
 
class  SystemHealthGadgetOptionsPage
 
class  SystemHealthGadgetWidget
 
class  SystemHealthPlugin
 

Functions

 SystemHealthGadget::SystemHealthGadget (QString classId, SystemHealthGadgetWidget *widget, QWidget *parent=nullptr)
 
 SystemHealthGadget::~SystemHealthGadget ()
 
QWidget * SystemHealthGadget::widget ()
 
void SystemHealthGadget::loadConfiguration (IUAVGadgetConfiguration *config)
 
 SystemHealthGadgetConfiguration::SystemHealthGadgetConfiguration (QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)
 
void SystemHealthGadgetConfiguration::setSystemFile (QString filename)
 
QString SystemHealthGadgetConfiguration::getSystemFile ()
 
void SystemHealthGadgetConfiguration::saveConfig (QSettings *settings) const
 
IUAVGadgetConfiguration * SystemHealthGadgetConfiguration::clone ()
 
 SystemHealthGadgetFactory::SystemHealthGadgetFactory (QObject *parent=nullptr)
 
 SystemHealthGadgetFactory::~SystemHealthGadgetFactory ()
 
Core::IUAVGadgetSystemHealthGadgetFactory::createGadget (QWidget *parent)
 
IUAVGadgetConfiguration * SystemHealthGadgetFactory::createConfiguration (QSettings *qSettings)
 
IOptionsPage * SystemHealthGadgetFactory::createOptionsPage (IUAVGadgetConfiguration *config)
 
 SystemHealthGadgetOptionsPage::SystemHealthGadgetOptionsPage (SystemHealthGadgetConfiguration *config, QObject *parent=nullptr)
 
QWidget * SystemHealthGadgetOptionsPage::createPage (QWidget *parent)
 
void SystemHealthGadgetOptionsPage::apply ()
 
void SystemHealthGadgetOptionsPage::finish ()
 
 SystemHealthGadgetWidget::SystemHealthGadgetWidget (QWidget *parent=nullptr)
 
 SystemHealthGadgetWidget::~SystemHealthGadgetWidget ()
 
void SystemHealthGadgetWidget::setSystemFile (QString dfn)
 
void SystemHealthGadgetWidget::setIndicator (QString indicator)
 
void SystemHealthGadgetWidget::paint ()
 
void SystemHealthGadgetWidget::paintEvent (QPaintEvent *event)
 
void SystemHealthGadgetWidget::resizeEvent (QResizeEvent *event)
 
void SystemHealthGadgetWidget::mousePressEvent (QMouseEvent *event)
 

Detailed Description

The System Health gadget plugin.

Function Documentation

void SystemHealthGadgetOptionsPage::apply ( )
virtual

Called when the user presses apply or OK.

Saves the current values

Implements Core::IOptionsPage.

Definition at line 66 of file systemhealthgadgetoptionspage.cpp.

IUAVGadgetConfiguration * SystemHealthGadgetConfiguration::clone ( )
virtual

Clones a configuration.

Implements Core::IUAVGadgetConfiguration.

Definition at line 51 of file systemhealthgadgetconfiguration.cpp.

IUAVGadgetConfiguration * SystemHealthGadgetFactory::createConfiguration ( QSettings *  qSettings)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 48 of file systemhealthgadgetfactory.cpp.

Core::IUAVGadget * SystemHealthGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 42 of file systemhealthgadgetfactory.cpp.

IOptionsPage * SystemHealthGadgetFactory::createOptionsPage ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 53 of file systemhealthgadgetfactory.cpp.

QWidget * SystemHealthGadgetOptionsPage::createPage ( QWidget *  parent)
virtual

Implements Core::IOptionsPage.

Definition at line 42 of file systemhealthgadgetoptionspage.cpp.

void SystemHealthGadgetOptionsPage::finish ( )
virtual

Implements Core::IOptionsPage.

Definition at line 71 of file systemhealthgadgetoptionspage.cpp.

QString SystemHealthGadgetConfiguration::getSystemFile ( )
inline

Definition at line 48 of file systemhealthgadgetconfiguration.h.

void SystemHealthGadget::loadConfiguration ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadget.

Definition at line 49 of file systemhealthgadget.cpp.

void SystemHealthGadgetWidget::mousePressEvent ( QMouseEvent *  event)
protected

Definition at line 219 of file systemhealthgadgetwidget.cpp.

void SystemHealthGadgetWidget::paint ( )

Definition at line 190 of file systemhealthgadgetwidget.cpp.

void SystemHealthGadgetWidget::paintEvent ( QPaintEvent *  event)
protected

Definition at line 200 of file systemhealthgadgetwidget.cpp.

void SystemHealthGadgetWidget::resizeEvent ( QResizeEvent *  event)
protected

Definition at line 213 of file systemhealthgadgetwidget.cpp.

void SystemHealthGadgetConfiguration::saveConfig ( QSettings *  qSettings) const
virtual

Saves a configuration.

Reimplemented from Core::IUAVGadgetConfiguration.

Definition at line 62 of file systemhealthgadgetconfiguration.cpp.

void SystemHealthGadgetWidget::setIndicator ( QString  indicator)
void SystemHealthGadgetConfiguration::setSystemFile ( QString  filename)
inline

Definition at line 45 of file systemhealthgadgetconfiguration.h.

void SystemHealthGadgetWidget::setSystemFile ( QString  dfn)

Definition at line 150 of file systemhealthgadgetwidget.cpp.

SystemHealthGadget::SystemHealthGadget ( QString  classId,
SystemHealthGadgetWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 31 of file systemhealthgadget.cpp.

SystemHealthGadgetConfiguration::SystemHealthGadgetConfiguration ( QString  classId,
QSettings *  qSettings = nullptr,
QObject *  parent = nullptr 
)
explicit

Loads a saved configuration or defaults if non exist.

Definition at line 34 of file systemhealthgadgetconfiguration.cpp.

SystemHealthGadgetFactory::SystemHealthGadgetFactory ( QObject *  parent = nullptr)

Definition at line 33 of file systemhealthgadgetfactory.cpp.

SystemHealthGadgetOptionsPage::SystemHealthGadgetOptionsPage ( SystemHealthGadgetConfiguration config,
QObject *  parent = nullptr 
)
explicit

Definition at line 34 of file systemhealthgadgetoptionspage.cpp.

SystemHealthGadgetWidget::SystemHealthGadgetWidget ( QWidget *  parent = nullptr)

Definition at line 39 of file systemhealthgadgetwidget.cpp.

QWidget* SystemHealthGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 47 of file systemhealthgadget.h.

SystemHealthGadget::~SystemHealthGadget ( )

Definition at line 38 of file systemhealthgadget.cpp.

SystemHealthGadgetFactory::~SystemHealthGadgetFactory ( )

Definition at line 38 of file systemhealthgadgetfactory.cpp.

SystemHealthGadgetWidget::~SystemHealthGadgetWidget ( )

Definition at line 145 of file systemhealthgadgetwidget.cpp.