18 #ifndef __qMRMLWindowLevelWidget_h 19 #define __qMRMLWindowLevelWidget_h 25 class qMRMLWindowLevelWidgetPrivate;
32 Q_PROPERTY(
ControlMode autoWindowLevel READ autoWindowLevel WRITE setAutoWindowLevel)
33 Q_PROPERTY(
double window READ window WRITE setWindow)
34 Q_PROPERTY(
double level READ level WRITE setLevel)
35 Q_PROPERTY(
double minimumValue READ minimumValue WRITE setMinimumValue)
36 Q_PROPERTY(
double maximumValue READ maximumValue WRITE setMaximumValue)
37 Q_PROPERTY(
double minimumBound READ minimumBound WRITE setMinimumBound)
38 Q_PROPERTY(
double maximumBound READ maximumBound WRITE setMaximumBound)
55 void setAutoWindowLevel(ControlMode autoWindowLevel);
56 ControlMode autoWindowLevel()
const;
68 double minimumValue()
const;
72 double maximumValue()
const;
76 double minimumBound()
const;
80 double maximumBound()
const;
85 void windowLevelValuesChanged(
double window,
double level);
88 void autoWindowLevelValueChanged(ControlMode value);
92 void setAutoWindowLevel(
int autoWindowLevel);
96 void setWindow(
double window);
100 void setLevel(
double level);
104 void setWindowLevel(
double window,
double level);
108 void setMinMaxRangeValue(
double min,
double max);
109 void setMinimumValue(
double min);
110 void setMaximumValue(
double max);
112 void setMinimumBound(
double min);
113 void setMaximumBound(
double max);
114 void setMinMaxBounds(
double min,
double max);