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)
53 void setAutoWindowLevel(ControlMode autoWindowLevel);
54 ControlMode autoWindowLevel()
const;
66 double minimumValue()
const;
70 double maximumValue()
const;
75 void windowLevelValuesChanged(
double window,
double level);
78 void autoWindowLevelValueChanged(ControlMode value);
82 void setAutoWindowLevel(
int autoWindowLevel);
86 void setWindow(
double window);
90 void setLevel(
double level);
94 void setWindowLevel(
double window,
double level);
98 void setMinMaxRangeValue(
double min,
double max);
99 void setMinimumValue(
double min);
100 void setMaximumValue(
double max);