Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
mitk::StatusBar Class Reference

Sending a message to the applications StatusBar. More...

#include <mitkStatusBar.h>

Inheritance diagram for mitk::StatusBar:
Collaboration diagram for mitk::StatusBar:

Public Member Functions

virtual const char * GetClassName () const
 
void DisplayText (const char *t)
 Send a string to the applications StatusBar. More...
 
void DisplayText (const char *t, int ms)
 Send a string with a time delay to the applications StatusBar. More...
 
void DisplayErrorText (const char *t)
 
void DisplayWarningText (const char *t)
 
void DisplayWarningText (const char *t, int ms)
 
void DisplayGenericOutputText (const char *t)
 
void DisplayDebugText (const char *t)
 
void DisplayGreyValueText (const char *t)
 
void DisplayImageInfo (mitk::Point3D point, itk::Index< 3 > index, mitk::ScalarType time, mitk::ScalarType pixelValue)
 Display position, index, time and pixel value. More...
 
void DisplayImageInfo (mitk::Point3D point, itk::Index< 3 > index, mitk::ScalarType time, const char *pixelValue)
 
void DisplayImageInfoInvalid ()
 Display placeholder text for invalid information. More...
 
void Clear ()
 removes any temporary message being shown. More...
 
void SetSizeGripEnabled (bool enable)
 Set the SizeGrip of the window (the triangle in the lower right Windowcorner for changing the size) to enabled or disabled. More...
 

Static Public Member Functions

static StatusBarGetInstance ()
 static method to get the GUI dependent StatusBar-instance so the methods DisplayText, etc. can be called No reference counting, cause of decentral static use! More...
 
static void SetImplementation (StatusBarImplementation *instance)
 Supply a GUI- dependent StatusBar. Has to be set by the application to connect the application dependent subclass of mitkStatusBar if you create an instance, then call ->Delete() on the supplied instance after setting it. More...
 

Protected Member Functions

 StatusBar ()
 
 ~StatusBar () override
 

Static Protected Attributes

static StatusBarImplementationm_Implementation
 
static StatusBarm_Instance
 

Detailed Description

Sending a message to the applications StatusBar.

Holds a GUI dependent StatusBarImplementation and sends the text further. nearly equal to itk::OutputWindow, no Window, but one line of text and a delay for clear. all mitk-classes use this class to display text on GUI-StatusBar. The mainapplication has to set the internal held StatusBarImplementation with SetInstance(..).

Definition at line 32 of file mitkStatusBar.h.

Constructor & Destructor Documentation

◆ StatusBar()

mitk::StatusBar::StatusBar ( )
protected

◆ ~StatusBar()

mitk::StatusBar::~StatusBar ( )
overrideprotected

Member Function Documentation

◆ Clear()

void mitk::StatusBar::Clear ( )

removes any temporary message being shown.

◆ DisplayDebugText()

void mitk::StatusBar::DisplayDebugText ( const char *  t)

◆ DisplayErrorText()

void mitk::StatusBar::DisplayErrorText ( const char *  t)

◆ DisplayGenericOutputText()

void mitk::StatusBar::DisplayGenericOutputText ( const char *  t)

◆ DisplayGreyValueText()

void mitk::StatusBar::DisplayGreyValueText ( const char *  t)

◆ DisplayImageInfo() [1/2]

void mitk::StatusBar::DisplayImageInfo ( mitk::Point3D  point,
itk::Index< 3 >  index,
mitk::ScalarType  time,
mitk::ScalarType  pixelValue 
)

Display position, index, time and pixel value.

◆ DisplayImageInfo() [2/2]

void mitk::StatusBar::DisplayImageInfo ( mitk::Point3D  point,
itk::Index< 3 >  index,
mitk::ScalarType  time,
const char *  pixelValue 
)

◆ DisplayImageInfoInvalid()

void mitk::StatusBar::DisplayImageInfoInvalid ( )

Display placeholder text for invalid information.

◆ DisplayText() [1/2]

void mitk::StatusBar::DisplayText ( const char *  t)

Send a string to the applications StatusBar.

◆ DisplayText() [2/2]

void mitk::StatusBar::DisplayText ( const char *  t,
int  ms 
)

Send a string with a time delay to the applications StatusBar.

◆ DisplayWarningText() [1/2]

void mitk::StatusBar::DisplayWarningText ( const char *  t)

◆ DisplayWarningText() [2/2]

void mitk::StatusBar::DisplayWarningText ( const char *  t,
int  ms 
)

◆ GetClassName()

virtual const char* mitk::StatusBar::GetClassName ( ) const
virtual

◆ GetInstance()

static StatusBar* mitk::StatusBar::GetInstance ( )
static

static method to get the GUI dependent StatusBar-instance so the methods DisplayText, etc. can be called No reference counting, cause of decentral static use!

◆ SetImplementation()

static void mitk::StatusBar::SetImplementation ( StatusBarImplementation instance)
static

Supply a GUI- dependent StatusBar. Has to be set by the application to connect the application dependent subclass of mitkStatusBar if you create an instance, then call ->Delete() on the supplied instance after setting it.

◆ SetSizeGripEnabled()

void mitk::StatusBar::SetSizeGripEnabled ( bool  enable)

Set the SizeGrip of the window (the triangle in the lower right Windowcorner for changing the size) to enabled or disabled.

Member Data Documentation

◆ m_Implementation

StatusBarImplementation* mitk::StatusBar::m_Implementation
staticprotected

Definition at line 86 of file mitkStatusBar.h.

◆ m_Instance

StatusBar* mitk::StatusBar::m_Instance
staticprotected

Definition at line 87 of file mitkStatusBar.h.


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