16 #ifndef QmitkNumberPropertySliderhincludecd
17 #define QmitkNumberPropertySliderhincludecd
36 Q_PROPERTY(
short decimalPlaces READ getDecimalPlaces WRITE setDecimalPlaces)
37 Q_PROPERTY(
bool showPercent READ getShowPercent WRITE setShowPercent)
38 Q_PROPERTY(
int minValue READ minValue WRITE setMinValue)
39 Q_PROPERTY(
int maxValue READ maxValue WRITE setMaxValue)
45 void SetProperty(
mitk::IntProperty *property);
46 void SetProperty(
mitk::FloatProperty *property);
47 void SetProperty(
mitk::DoubleProperty *property);
49 short getDecimalPlaces() const;
50 void setDecimalPlaces(
short);
52 bool getShowPercent() const;
53 void setShowPercent(
bool);
56 void setMinValue(
int);
58 void setMaxValue(
int);
59 double doubleValue() const;
60 void setDoubleValue(
double);
64 void onValueChanged(
int);
68 std::unique_ptr<Impl> d;
DataCollection - Class to facilitate loading/accessing structured data.