26 #ifndef RANGECONTROLSWIDGET_QO_H
27 #define RANGECONTROLSWIDGET_QO_H
30 #include <guitools/Histogram/RangeControlsWidget.ui.h>
36 class QDoubleValidator;
40 template <
class T>
class ImageInterface;
54 float getRangeMin()
const;
55 float getRangeMax()
const;
63 std::shared_ptr<const casacore::ImageInterface<float> >
image;
79 void setRange(
double min,
double max,
bool signal=
true );
80 void setDataLimits(
double min,
double max );
81 void setIgnoreRange(
bool ignore );
82 pair<double,double> getMinMaxValues()
const;
91 void percentilesDone();
94 virtual void keyPressEvent( QKeyEvent* event );
98 void rangeModeChanged(
bool percentile );
99 void percentageChanged(
const QString& newPercentage );
106 Ui::RangeControlsWidgetClass
ui;
107 std::shared_ptr<const casacore::ImageInterface<float > >
image;
114 #endif // RANGECONTROLSWIDGET_QO_H
PtrHolder< T > & operator=(const PtrHolder< T > &other)
Designed as a separaclass so if it needs to go into a different thread, it can be put there...
std::shared_ptr< const casacore::ImageInterface< float > > image
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.