13#ifndef QmitkZoneProgressBar_h 
   14#define QmitkZoneProgressBar_h 
   16#include <QProgressBar> 
   37  explicit QmitkZoneProgressBar(QString name, 
int maxRange, 
int warnRange, QWidget *parent = 
nullptr);
 
 
QProgressBar for displaying distances to zones. Colors are changed according to the distance to the z...
 
void SetBorderColor(float color[3])
 
void setValueInvalid()
Can be called to indicate that there is currently no valid distance value available....
 
void SetTextFormatValid(QString format)
Setter for the text on the progress bar. Defaults to the string given as name to the constructor....
 
void SetColor(float color[3])
 
QString m_TextFormatInvalid
 
void SetTextFormatInvalid(QString format)
 
void SetWarnColor(float color[3])
 
QString m_TextFormatValid
 
QString m_WarnColorString
 
QString ColorToString(float color[3])
 
void UpdateStyleSheet(QString startColor, QString stopColor)
 
QmitkZoneProgressBar(QString name, int maxRange, int warnRange, QWidget *parent=nullptr)
Initializes the progress bar with the given name, max range and warn range. The colors are set to def...
 
QString m_BorderColorString