16 #ifndef QMITK_NUMBERPROPERTYVIEW_H_INCLUDED
17 #define QMITK_NUMBERPROPERTYVIEW_H_INCLUDED
28 Q_PROPERTY(
short decimalPlaces READ decimalPlaces WRITE setDecimalPlaces)
29 Q_PROPERTY(QString suffix READ suffix WRITE setSuffix)
30 Q_PROPERTY(
bool showPercent READ showPercent WRITE setShowPercent)
39 short decimalPlaces() const;
40 void setDecimalPlaces(
short);
42 QString suffix() const;
43 void setSuffix(const QString &);
45 bool showPercent() const;
46 void setShowPercent(
bool);
51 virtual
void PropertyChanged() override;
52 virtual
void PropertyRemoved() override;
const mitk::GenericProperty< double > * m_DoubleProperty
const mitk::GenericProperty< float > * m_FloatProperty
DataCollection - Class to facilitate loading/accessing structured data.
const mitk::GenericProperty< int > * m_IntProperty
QString m_Suffix
-1 indicates "no limit to decimal places"