Medical Imaging Interaction Toolkit  2016.11.0
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 internaly and connects this to the mitkStatusBar. More...
 
virtual ~QmitkStatusBar ()
 Destructor. More...
 
virtual void DisplayText (const char *t) override
 Send a string to the applications StatusBar (QStatusBar). More...
 
virtual void DisplayText (const char *t, int ms) override
 
virtual void DisplayErrorText (const char *t) override
 Send a string as an error message to StatusBar. The implementation calls DisplayText() More...
 
virtual void DisplayWarningText (const char *t) override
 
virtual void DisplayWarningText (const char *t, int ms) override
 
virtual void DisplayGenericOutputText (const char *t) override
 
virtual void DisplayDebugText (const char *t) override
 
virtual void DisplayGreyValueText (const char *t) override
 
virtual void Clear () override
 removes any temporary message being shown. More...
 
virtual 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 36 of file QmitkStatusBar.h.

Constructor & Destructor Documentation

QmitkStatusBar::~QmitkStatusBar ( )
virtual

Destructor.

Definition at line 90 of file QmitkStatusBar.cpp.

Member Function Documentation

void QmitkStatusBar::Clear ( )
overridevirtual

removes any temporary message being shown.

Clear the text in the StatusBar

Implements mitk::StatusBarImplementation.

Definition at line 60 of file QmitkStatusBar.cpp.

virtual void QmitkStatusBar::DisplayDebugText ( const char *  t)
inlineoverridevirtual
virtual 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 60 of file QmitkStatusBar.h.

References mitk::StatusBarImplementation::DisplayText().

virtual void QmitkStatusBar::DisplayGenericOutputText ( const char *  t)
inlineoverridevirtual
void QmitkStatusBar::DisplayGreyValueText ( const char *  t)
overridevirtual

Show the grey value text in the statusbar

Implements mitk::StatusBarImplementation.

Definition at line 52 of file QmitkStatusBar.cpp.

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

Send a string to the applications StatusBar (QStatusBar).

Display the text in the statusbar of the applikation

Implements mitk::StatusBarImplementation.

Definition at line 33 of file QmitkStatusBar.cpp.

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

Display the text in the statusbar of the applikation for ms seconds

Implements mitk::StatusBarImplementation.

Definition at line 43 of file QmitkStatusBar.cpp.

virtual void QmitkStatusBar::DisplayWarningText ( const char *  t)
inlineoverridevirtual
virtual void QmitkStatusBar::DisplayWarningText ( const char *  t,
int  ms 
)
inlineoverridevirtual
QmitkStatusBar::mitkClassMacro ( QmitkStatusBar  ,
mitk::StatusBarImplementation   
)

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

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.

enable or disable the QSizeGrip

Implements mitk::StatusBarImplementation.

Definition at line 71 of file QmitkStatusBar.cpp.


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