Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkMemoryUsageIndicatorView.h>
Public Member Functions | |
QmitkMemoryUsageIndicatorView (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr) | |
constructor More... | |
~QmitkMemoryUsageIndicatorView () | |
destructor More... | |
Protected Slots | |
void | UpdateMemoryUsage () |
Protected Member Functions | |
std::string | FormatMemorySize (vcl_size_t size) |
std::string | FormatPercentage (double val) |
std::string | GetMemoryDescription (vcl_size_t processSize, float percentage) |
Protected Attributes | |
QPixmap | m_LEDGreen |
QPixmap | m_LEDYellow |
QPixmap | m_LEDOrange |
QPixmap | m_LEDRed |
char | m_PreviousState |
Definition at line 27 of file QmitkMemoryUsageIndicatorView.h.
QmitkMemoryUsageIndicatorView::QmitkMemoryUsageIndicatorView | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = nullptr |
||
) |
constructor
Definition at line 47 of file QmitkMemoryUsageIndicatorView.cpp.
References m_LEDGreen, m_LEDOrange, m_LEDRed, m_LEDYellow, m_PreviousState, and UpdateMemoryUsage().
QmitkMemoryUsageIndicatorView::~QmitkMemoryUsageIndicatorView | ( | ) |
destructor
Definition at line 62 of file QmitkMemoryUsageIndicatorView.cpp.
|
protected |
Definition at line 110 of file QmitkMemoryUsageIndicatorView.cpp.
Referenced by GetMemoryDescription().
|
protected |
Definition at line 135 of file QmitkMemoryUsageIndicatorView.cpp.
Referenced by GetMemoryDescription().
|
protected |
Definition at line 144 of file QmitkMemoryUsageIndicatorView.cpp.
References FormatMemorySize(), and FormatPercentage().
Referenced by UpdateMemoryUsage().
|
protectedslot |
Definition at line 66 of file QmitkMemoryUsageIndicatorView.cpp.
References GetMemoryDescription(), mitk::MemoryUtilities::GetProcessMemoryUsage(), mitk::MemoryUtilities::GetTotalSizeOfPhysicalRam(), m_LEDGreen, m_LEDOrange, m_LEDRed, m_LEDYellow, and m_PreviousState.
Referenced by QmitkMemoryUsageIndicatorView().
|
protected |
Definition at line 46 of file QmitkMemoryUsageIndicatorView.h.
Referenced by QmitkMemoryUsageIndicatorView(), and UpdateMemoryUsage().
|
protected |
Definition at line 48 of file QmitkMemoryUsageIndicatorView.h.
Referenced by QmitkMemoryUsageIndicatorView(), and UpdateMemoryUsage().
|
protected |
Definition at line 49 of file QmitkMemoryUsageIndicatorView.h.
Referenced by QmitkMemoryUsageIndicatorView(), and UpdateMemoryUsage().
|
protected |
Definition at line 47 of file QmitkMemoryUsageIndicatorView.h.
Referenced by QmitkMemoryUsageIndicatorView(), and UpdateMemoryUsage().
|
protected |
Definition at line 50 of file QmitkMemoryUsageIndicatorView.h.
Referenced by QmitkMemoryUsageIndicatorView(), and UpdateMemoryUsage().