62 #if QT_VERSION >= 0x050000 63 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-MemInfo")
69 void log(
Logtype _type, QString _message);
70 void log(QString _message);
73 void addWidgetToStatusbar(QWidget* _widget);
80 QString
name() {
return (QString(
"MemInfo")); } ;
81 QString
description() {
return (QString(
"Plugin used to display current GPU/CPU Memory Status")); } ;
87 void pluginsInitialized();
112 QString version() {
return QString(
"1.0"); };
QString name()
Return a name for the plugin.
Logtype
Log types for Message Window.
Control OpenFlippers status bar.
Interface class from which all plugins have to be created.
void setProgressBarStyleSheet(QProgressBar *_bar)
Sets the Qt Stylesheet for the progress bars.
QTimer * updateTimer_
Timer that triggers an update of the bars.
Interface for all Plugins which do logging to the logging window of the framework.
void nvidiaMemoryInfoUpdate()
Update statusbar with NVIDIA memory infos.
void initializePlugin()
BaseInterface.
QString description()
Return a description of what the plugin is doing.
void cpuMemoryInfoUpdate()
Update statusbar with main memory infos.
QProgressBar * gpuMemBar_
Status bar for GPU memory.
QProgressBar * mainMemBar_
Status bar for Main memory.