Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Sending a message to the applications StatusBar. More...
#include <mitkStatusBar.h>
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 StatusBar * | GetInstance () |
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 () | |
virtual | ~StatusBar () |
Static Protected Attributes | |
static StatusBarImplementation * | m_Implementation |
static StatusBar * | m_Instance |
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 36 of file mitkStatusBar.h.
|
protected |
Definition at line 166 of file mitkStatusBar.cpp.
Referenced by GetInstance().
|
protectedvirtual |
Definition at line 167 of file mitkStatusBar.cpp.
void mitk::StatusBar::Clear | ( | ) |
removes any temporary message being shown.
Definition at line 129 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::Clear(), and m_Implementation.
void mitk::StatusBar::DisplayDebugText | ( | const char * | t | ) |
Definition at line 64 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayDebugText(), and m_Implementation.
void mitk::StatusBar::DisplayErrorText | ( | const char * | t | ) |
Definition at line 44 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayErrorText(), and m_Implementation.
Referenced by mitk::BoundingShapeCropper::CutImage(), and mitk::AutoCropImageFilter::ITKCrop3DImage().
void mitk::StatusBar::DisplayGenericOutputText | ( | const char * | t | ) |
Definition at line 59 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayGenericOutputText(), and m_Implementation.
void mitk::StatusBar::DisplayGreyValueText | ( | const char * | t | ) |
Definition at line 69 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayGreyValueText(), and m_Implementation.
Referenced by QmitkStdMultiWidget::HandleCrosshairPositionEventDelayed().
void mitk::StatusBar::DisplayImageInfo | ( | mitk::Point3D | point, |
itk::Index< 3 > | index, | ||
mitk::ScalarType | time, | ||
mitk::ScalarType | pixelValue | ||
) |
Display position, index, time and pixel value.
Definition at line 89 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayGreyValueText(), m_Implementation, and mitk::WriteCommonImageInfo().
void mitk::StatusBar::DisplayImageInfo | ( | mitk::Point3D | point, |
itk::Index< 3 > | index, | ||
mitk::ScalarType | time, | ||
const char * | pixelValue | ||
) |
Definition at line 109 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayGreyValueText(), m_Implementation, and mitk::WriteCommonImageInfo().
void mitk::StatusBar::DisplayImageInfoInvalid | ( | ) |
Display placeholder text for invalid information.
Definition at line 124 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayGreyValueText(), and m_Implementation.
void mitk::StatusBar::DisplayText | ( | const char * | t | ) |
Send a string to the applications StatusBar.
Display the text in the statusbar of the applikation
Definition at line 29 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayText(), and m_Implementation.
Referenced by mitk::TubeGraphDataInteractor::DeselectTube(), mitk::Mesh::ExecuteOperation(), QmitkIGTLoggerWidget::OnStartRecording(), mitk::CreateSurfaceTool::ProcessOneWorkingData(), mitk::CalculateGrayValueStatisticsTool::ProcessOneWorkingData(), mitk::TubeGraphDataInteractor::SelectTube(), and QmitkIGTLoggerWidget::StopRecording().
void mitk::StatusBar::DisplayText | ( | const char * | t, |
int | ms | ||
) |
Send a string with a time delay to the applications StatusBar.
Display the text in the statusbar of the applikation for ms seconds
Definition at line 38 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayText(), and m_Implementation.
void mitk::StatusBar::DisplayWarningText | ( | const char * | t | ) |
Definition at line 49 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayWarningText(), and m_Implementation.
void mitk::StatusBar::DisplayWarningText | ( | const char * | t, |
int | ms | ||
) |
Definition at line 54 of file mitkStatusBar.cpp.
References mitk::StatusBarImplementation::DisplayWarningText(), and m_Implementation.
|
virtual |
|
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!
Get the instance of this StatusBar
Definition at line 144 of file mitkStatusBar.cpp.
References m_Instance, and StatusBar().
Referenced by mitk::BoundingShapeCropper::CutImage(), mitk::TubeGraphDataInteractor::DeselectTube(), mitk::Mesh::ExecuteOperation(), QmitkStdMultiWidget::HandleCrosshairPositionEventDelayed(), mitk::AutoCropImageFilter::ITKCrop3DImage(), QmitkIGTLoggerWidget::OnStartRecording(), mitk::CreateSurfaceTool::ProcessOneWorkingData(), mitk::CalculateGrayValueStatisticsTool::ProcessOneWorkingData(), mitk::TubeGraphDataInteractor::SelectTube(), QmitkIGTLoggerWidget::StopRecording(), and mitk::DisplayInteractor::UpdateStatusbar().
|
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.
Set an instance of this; application must do this!See Header!
Definition at line 157 of file mitkStatusBar.cpp.
References m_Implementation.
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.
Definition at line 134 of file mitkStatusBar.cpp.
References m_Implementation, and mitk::StatusBarImplementation::SetSizeGripEnabled().
|
staticprotected |
Definition at line 90 of file mitkStatusBar.h.
Referenced by Clear(), DisplayDebugText(), DisplayErrorText(), DisplayGenericOutputText(), DisplayGreyValueText(), DisplayImageInfo(), DisplayImageInfoInvalid(), DisplayText(), DisplayWarningText(), SetImplementation(), and SetSizeGripEnabled().
|
staticprotected |
Definition at line 91 of file mitkStatusBar.h.
Referenced by GetInstance().