18 #ifndef QGSSINGLEBANDGRAYRENDERERWIDGET_H
19 #define QGSSINGLEBANDGRAYRENDERERWIDGET_H
23 #include "ui_qgssinglebandgrayrendererwidgetbase.h"
38 QString
min(
int index = 0 ) { Q_UNUSED( index );
return mMinLineEdit->text(); }
39 QString
max(
int index = 0 ) { Q_UNUSED( index );
return mMaxLineEdit->text(); }
40 void setMin( QString value,
int index = 0 ) { Q_UNUSED( index ); mMinLineEdit->setText( value ); }
41 void setMax( QString value,
int index = 0 ) { Q_UNUSED( index ); mMaxLineEdit->setText( value ); }
42 int selectedBand(
int index = 0 ) { Q_UNUSED( index );
return mGrayBandComboBox->currentIndex() + 1; }
45 void loadMinMax(
int theBandNo,
double theMin,
double theMax,
int theOrigin );
48 void on_mGrayBandComboBox_currentIndexChanged(
int index );
54 #endif // QGSSINGLEBANDGRAYRENDERERWIDGET_H