18 #ifndef QGSSINGLEBANDCOLORRENDERERWIDGET_H
19 #define QGSSINGLEBANDCOLORRENDERERWIDGET_H
24 #include "ui_qgssinglebandpseudocolorrendererwidgetbase.h"
27 private Ui::QgsSingleBandPseudoColorRendererWidgetBase
46 void loadMinMax(
int theBandNo,
double theMin,
double theMax,
int theOrigin );
49 void populateColormapTreeWidget(
const QList<QgsColorRampShader::ColorRampItem>& colorRampItems );
52 void on_mAddEntryButton_clicked();
53 void on_mDeleteEntryButton_clicked();
54 void on_mSortButton_clicked();
55 void on_mClassifyButton_clicked();
56 void on_mLoadFromBandButton_clicked();
57 void on_mLoadFromFileButton_clicked();
58 void on_mExportToFileButton_clicked();
59 void on_mColormapTreeWidget_itemDoubleClicked( QTreeWidgetItem* item,
int column );
60 void on_mBandComboBox_currentIndexChanged(
int index );
61 void on_mMinLineEdit_textChanged(
const QString & text ) { Q_UNUSED( text ); resetClassifyButton(); }
62 void on_mMaxLineEdit_textChanged(
const QString & text ) { Q_UNUSED( text ); resetClassifyButton(); }
63 void on_mMinLineEdit_textEdited(
const QString & text ) { Q_UNUSED( text ); mMinMaxOrigin =
QgsRasterRenderer::MinMaxUser; showMinMaxOrigin(); }
64 void on_mMaxLineEdit_textEdited(
const QString & text ) { Q_UNUSED( text ); mMinMaxOrigin =
QgsRasterRenderer::MinMaxUser; showMinMaxOrigin(); }
65 void on_mClassificationModeComboBox_currentIndexChanged(
int index );
66 void on_mColorRampComboBox_currentIndexChanged(
int index );
69 void setLineEditValue( QLineEdit *theLineEdit,
double theValue );
70 double lineEditValue(
const QLineEdit *theLineEdit )
const;
71 void resetClassifyButton();
72 void showMinMaxOrigin();
77 #endif // QGSSINGLEBANDCOLORRENDERERWIDGET_H