00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #ifndef MITKSTATUSBARIMPLEMENTATION_H 00020 #define MITKSTATUSBARIMPLEMENTATION_H 00021 #include "mitkCommon.h" 00022 00023 namespace mitk { 00024 //##Documentation 00025 //## @brief GUI indepentent Interface for all Gui depentent implementations of a StatusBar. 00026 class MITK_CORE_EXPORT StatusBarImplementation 00027 { 00028 public: 00029 //##Documentation 00030 //## @brief Constructor 00031 StatusBarImplementation(){}; 00032 //##Documentation 00033 //## @brief Destructor 00034 virtual ~StatusBarImplementation(){}; 00035 00036 //##Documentation 00037 //## @brief Send a string to the applications StatusBar 00038 virtual void DisplayText(const char* t)=0; 00039 00040 //##Documentation 00041 //## @brief Send a string with a time delay to the applications StatusBar 00042 virtual void DisplayText(const char* t, int ms) = 0; 00043 virtual void DisplayErrorText(const char *t) = 0; 00044 virtual void DisplayWarningText(const char *t) = 0; 00045 virtual void DisplayWarningText(const char *t, int ms) = 0; 00046 virtual void DisplayGenericOutputText(const char *t) = 0; 00047 virtual void DisplayDebugText(const char *t) = 0; 00048 virtual void DisplayGreyValueText(const char *t) = 0; 00049 00050 00051 //##Documentation 00052 //## @brief removes any temporary message being shown. 00053 virtual void Clear() = 0; 00054 00055 //##Documentation 00056 //## @brief Set the SizeGrip of the window 00057 //## (the triangle in the lower right Windowcorner for changing the size) 00058 //## to enabled or disabled 00059 virtual void SetSizeGripEnabled(bool enable) = 0; 00060 }; 00061 00062 }// end namespace mitk 00063 #endif /* define MITKSTATUSBARIMPLEMENTATION_H */