17 #include <QTextStream>
25 : QLabel(parent), PropertyView(property), m_IntProperty(property), m_DataType(
DT_INT)
31 : QLabel(parent), PropertyView(property), m_FloatProperty(property), m_DataType(
DT_FLOAT)
37 : QLabel(parent), PropertyView(property), m_DoubleProperty(property), m_DataType(
DT_DOUBLE)
112 QString displayedText;
113 QTextStream stream(&displayedText);
141 setText(displayedText);
const mitk::GenericProperty< double > * m_DoubleProperty
void setShowPercent(bool)
virtual void PropertyRemoved() override
virtual ~QmitkNumberPropertyView()
const mitk::GenericProperty< float > * m_FloatProperty
virtual void PropertyChanged() override
const mitk::GenericProperty< int > * m_IntProperty
short decimalPlaces() const
QmitkNumberPropertyView(const mitk::IntProperty *, QWidget *parent)
void setDecimalPlaces(short)
const mitk::BaseProperty * m_Property
void setSuffix(const QString &)
QString m_Suffix
-1 indicates "no limit to decimal places"
virtual T GetValue() const