Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkStatusBar Class Reference

QT-Toolkit/GUI dependent class that provides to send a Message to the QT's StatusBar. More...

#include <QmitkStatusBar.h>

Inheritance diagram for QmitkStatusBar:
Collaboration diagram for QmitkStatusBar:

Public Member Functions

 mitkClassMacro (QmitkStatusBar, mitk::StatusBarImplementation)
 
 QmitkStatusBar (QStatusBar *instance)
 Constructor; holds param instance internally and connects this to the mitkStatusBar. More...
 
 ~QmitkStatusBar () override
 Destructor. More...
 
void DisplayText (const char *t) override
 Send a string to the applications StatusBar (QStatusBar). More...
 
void DisplayText (const char *t, int ms) override
 Send a string with a time delay to the applications StatusBar. More...
 
void DisplayErrorText (const char *t) override
 Send a string as an error message to StatusBar. The implementation calls DisplayText() More...
 
void DisplayWarningText (const char *t) override
 
void DisplayWarningText (const char *t, int ms) override
 
void DisplayGenericOutputText (const char *t) override
 
void DisplayDebugText (const char *t) override
 
void DisplayGreyValueText (const char *t) override
 
void Clear () override
 removes any temporary message being shown. More...
 
void SetSizeGripEnabled (bool enable) override
 Set the QSizeGrip of the window (the triangle in the lower right Windowcorner for changing the size) to enabled or disabled. More...
 
- Public Member Functions inherited from mitk::StatusBarImplementation
virtual std::vector< std::string > GetClassHierarchy () const
 
 itkTypeMacroNoParent (StatusBarImplementation) StatusBarImplementation()
 Constructor. More...
 
virtual ~StatusBarImplementation ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from mitk::StatusBarImplementation
typedef StatusBarImplementation Self
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Static Public Member Functions inherited from mitk::StatusBarImplementation
static const char * GetStaticNameOfClass ()
 

Detailed Description

QT-Toolkit/GUI dependent class that provides to send a Message to the QT's StatusBar.

A delay time can be set.

All mitk-classes will call this class for output: mitk::StatusBar::GetInstance();

Definition at line 32 of file QmitkStatusBar.h.

Constructor & Destructor Documentation

◆ QmitkStatusBar()

QmitkStatusBar::QmitkStatusBar ( QStatusBar *  instance)

Constructor; holds param instance internally and connects this to the mitkStatusBar.

◆ ~QmitkStatusBar()

QmitkStatusBar::~QmitkStatusBar ( )
override

Destructor.

Member Function Documentation

◆ Clear()

void QmitkStatusBar::Clear ( )
overridevirtual

removes any temporary message being shown.

Implements mitk::StatusBarImplementation.

◆ DisplayDebugText()

void QmitkStatusBar::DisplayDebugText ( const char *  t)
inlineoverridevirtual

◆ DisplayErrorText()

void QmitkStatusBar::DisplayErrorText ( const char *  t)
inlineoverridevirtual

Send a string as an error message to StatusBar. The implementation calls DisplayText()

Implements mitk::StatusBarImplementation.

Definition at line 56 of file QmitkStatusBar.h.

References mitk::StatusBarImplementation::DisplayText().

◆ DisplayGenericOutputText()

void QmitkStatusBar::DisplayGenericOutputText ( const char *  t)
inlineoverridevirtual

◆ DisplayGreyValueText()

void QmitkStatusBar::DisplayGreyValueText ( const char *  t)
overridevirtual

◆ DisplayText() [1/2]

void QmitkStatusBar::DisplayText ( const char *  t)
overridevirtual

Send a string to the applications StatusBar (QStatusBar).

Implements mitk::StatusBarImplementation.

◆ DisplayText() [2/2]

void QmitkStatusBar::DisplayText ( const char *  t,
int  ms 
)
overridevirtual

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

Implements mitk::StatusBarImplementation.

◆ DisplayWarningText() [1/2]

void QmitkStatusBar::DisplayWarningText ( const char *  t)
inlineoverridevirtual

◆ DisplayWarningText() [2/2]

void QmitkStatusBar::DisplayWarningText ( const char *  t,
int  ms 
)
inlineoverridevirtual

◆ mitkClassMacro()

QmitkStatusBar::mitkClassMacro ( QmitkStatusBar  ,
mitk::StatusBarImplementation   
)

◆ SetSizeGripEnabled()

void QmitkStatusBar::SetSizeGripEnabled ( bool  enable)
overridevirtual

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

Implements mitk::StatusBarImplementation.


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