18 #ifndef QGSRASTERMINMAXWIDGET_H 19 #define QGSRASTERMINMAXWIDGET_H 21 #include "ui_qgsrasterminmaxwidgetbase.h" 71 void setBands(
const QList<int> &bands );
80 int sampleSize() {
return cboAccuracy->currentIndex() == 0 ? 250000 : 0; }
89 void hideUpdatedExtent();
92 void doComputations();
95 void userHasSetManualMinMaxValues();
98 bool isCollapsed()
const {
return mLoadMinMaxValuesGroupBox->isCollapsed(); }
101 void setCollapsed(
bool b ) { mLoadMinMaxValuesGroupBox->setCollapsed( b ); }
109 void widgetChanged();
112 void load(
int bandNo,
double min,
double max );
116 void mUserDefinedRadioButton_toggled(
bool );
117 void mMinMaxRadioButton_toggled(
bool b ) {
if ( b ) emit widgetChanged(); }
118 void mStdDevRadioButton_toggled(
bool b ) {
if ( b ) emit widgetChanged(); }
119 void mCumulativeCutRadioButton_toggled(
bool b ) {
if ( b ) emit widgetChanged(); }
120 void mStatisticsExtentCombo_currentIndexChanged(
int ) { emit widgetChanged(); }
121 void mCumulativeCutLowerDoubleSpinBox_valueChanged(
double ) { emit widgetChanged(); }
122 void mCumulativeCutUpperDoubleSpinBox_valueChanged(
double ) { emit widgetChanged(); }
123 void mStdDevSpinBox_valueChanged(
double ) { emit widgetChanged(); }
124 void cboAccuracy_currentIndexChanged(
int ) { emit widgetChanged(); }
133 bool mLastRectangleValid;
140 #endif // QGSRASTERMINMAXWIDGET_H
A rectangle specified with double values.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
Map canvas is a class for displaying all GIS data types on a canvas.
This class describes the origin of min/max values.