Medical Imaging Interaction Toolkit  2021.02.99-b1c7fb9e
Medical Imaging Interaction Toolkit
QmitkMemoryUsageIndicatorView Class Reference

#include <QmitkMemoryUsageIndicatorView.h>

Inheritance diagram for QmitkMemoryUsageIndicatorView:
Collaboration diagram for QmitkMemoryUsageIndicatorView:

Public Member Functions

 QmitkMemoryUsageIndicatorView (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 constructor More...
 
 ~QmitkMemoryUsageIndicatorView () override
 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
 

Detailed Description

Definition at line 23 of file QmitkMemoryUsageIndicatorView.h.

Constructor & Destructor Documentation

◆ QmitkMemoryUsageIndicatorView()

QmitkMemoryUsageIndicatorView::QmitkMemoryUsageIndicatorView ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

constructor

◆ ~QmitkMemoryUsageIndicatorView()

QmitkMemoryUsageIndicatorView::~QmitkMemoryUsageIndicatorView ( )
override

destructor

Member Function Documentation

◆ FormatMemorySize()

std::string QmitkMemoryUsageIndicatorView::FormatMemorySize ( vcl_size_t  size)
protected

◆ FormatPercentage()

std::string QmitkMemoryUsageIndicatorView::FormatPercentage ( double  val)
protected

◆ GetMemoryDescription()

std::string QmitkMemoryUsageIndicatorView::GetMemoryDescription ( vcl_size_t  processSize,
float  percentage 
)
protected

◆ UpdateMemoryUsage

void QmitkMemoryUsageIndicatorView::UpdateMemoryUsage ( )
protectedslot

Member Data Documentation

◆ m_LEDGreen

QPixmap QmitkMemoryUsageIndicatorView::m_LEDGreen
protected

Definition at line 42 of file QmitkMemoryUsageIndicatorView.h.

◆ m_LEDOrange

QPixmap QmitkMemoryUsageIndicatorView::m_LEDOrange
protected

Definition at line 44 of file QmitkMemoryUsageIndicatorView.h.

◆ m_LEDRed

QPixmap QmitkMemoryUsageIndicatorView::m_LEDRed
protected

Definition at line 45 of file QmitkMemoryUsageIndicatorView.h.

◆ m_LEDYellow

QPixmap QmitkMemoryUsageIndicatorView::m_LEDYellow
protected

Definition at line 43 of file QmitkMemoryUsageIndicatorView.h.

◆ m_PreviousState

char QmitkMemoryUsageIndicatorView::m_PreviousState
protected

Definition at line 46 of file QmitkMemoryUsageIndicatorView.h.


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