18 #ifndef QGSRASTERMINMAXWIDGET_H
19 #define QGSRASTERMINMAXWIDGET_H
21 #include "ui_qgsrasterminmaxwidgetbase.h"
70 void setBands(
const QList<int> &bands );
79 int sampleSize() {
return cboAccuracy->currentIndex() == 0 ? 250000 : 0; }
88 void hideUpdatedExtent();
91 void doComputations();
94 void userHasSetManualMinMaxValues();
97 bool isCollapsed()
const {
return mLoadMinMaxValuesGroupBox->isCollapsed(); }
100 void setCollapsed(
bool b ) { mLoadMinMaxValuesGroupBox->setCollapsed( b ); }
108 void widgetChanged();
111 void load(
int bandNo,
double min,
double max );
115 void mUserDefinedRadioButton_toggled(
bool );
116 void mMinMaxRadioButton_toggled(
bool b ) {
if ( b ) emit widgetChanged(); }
117 void mStdDevRadioButton_toggled(
bool b ) {
if ( b ) emit widgetChanged(); }
118 void mCumulativeCutRadioButton_toggled(
bool b ) {
if ( b ) emit widgetChanged(); }
119 void mStatisticsExtentCombo_currentIndexChanged(
int ) { emit widgetChanged(); }
120 void mCumulativeCutLowerDoubleSpinBox_valueChanged(
double ) { emit widgetChanged(); }
121 void mCumulativeCutUpperDoubleSpinBox_valueChanged(
double ) { emit widgetChanged(); }
122 void mStdDevSpinBox_valueChanged(
double ) { emit widgetChanged(); }
123 void cboAccuracy_currentIndexChanged(
int ) { emit widgetChanged(); }
132 bool mLastRectangleValid;
139 #endif // QGSRASTERMINMAXWIDGET_H