@@ -75,66 +75,15 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
75
75
/* * \brief slot executed when user presses "Remove Selected Row" button on the transparency page */
76
76
void on_pbnRemoveSelectedRow_clicked ();
77
77
/* * \brief slot executed when the single band radio button is pressed. */
78
- void on_rbtnSingleBand_toggled ( bool );
79
- /* * \brief slot executed when the single band min max radio button is pressed. */
80
- void on_rbtnSingleBandMinMax_toggled ( bool );
81
- /* * \brief slot executed when the single band standard deviation radio button is pressed. */
82
- void on_rbtnSingleBandStdDev_toggled ( bool );
83
- /* * \brief slot executed when the three band radio button is pressed. */
84
- void on_rbtnThreeBand_toggled ( bool );
85
- /* * \brief slot executed when the three band min max radio button is pressed. */
86
- void on_rbtnThreeBandMinMax_toggled ( bool );
87
- /* * \brief slot executed when the three band standard deviation radio button is pressed. */
88
- void on_rbtnThreeBandStdDev_toggled ( bool );
89
78
/* * \brief slot executed when the reset null value to file default icon is selected */
90
79
void on_btnResetNull_clicked ( );
91
80
92
81
void pixelSelected ( const QgsPoint& );
93
- /* * \brief this slot clears min max values from gui */
94
- void sboxSingleBandStdDev_valueChanged ( double );
95
- /* * \brief this slot clears min max values from gui */
96
- void sboxThreeBandStdDev_valueChanged ( double );
97
82
/* * \brief slot executed when the transparency level changes. */
98
83
void sliderTransparency_valueChanged ( int );
99
- /* * \brief this slot sets StdDev switch box to 0.00 when user enters min max values */
100
- void userDefinedMinMax_textEdited ( QString );
101
84
102
85
private slots:
103
86
void on_mRenderTypeComboBox_currentIndexChanged ( int index );
104
- /* * This slow handles necessary interface modifications (i.e. loading min max values) */
105
- void on_cboBlue_currentIndexChanged ( const QString& );
106
- /* * This slow handles necessary interface modifications (i.e. loading min max values) */
107
- void on_cboGray_currentIndexChanged ( const QString& );
108
- /* * This slow handles necessary interface modifications (i.e. loading min max values) */
109
- void on_cboGreen_currentIndexChanged ( const QString& );
110
- /* * This slow handles necessary interface modifications (i.e. loading min max values) */
111
- void on_cboRed_currentIndexChanged ( const QString& );
112
- /* * This slot handles necessary interface modifications based when color map selected changes */
113
- void on_cboxColorMap_currentIndexChanged ( const QString& );
114
- /* * This slot calculates classification values and colors for the tree widget on the colormap tab */
115
- void on_mClassifyButton_clicked ();
116
- /* * This slot deletes the current class from the tree widget on the colormap tab */
117
- void on_mDeleteEntryButton_clicked ();
118
- /* * Callback for double clicks on the colormap entry widget */
119
- void handleColormapTreeWidgetDoubleClick ( QTreeWidgetItem* item, int column );
120
- /* * This slot adds a new row to the color map table */
121
- void on_pbtnAddColorMapEntry_clicked ();
122
- /* * This slots saves the current color map to a file */
123
- void on_pbtnExportColorMapToFile_clicked ();
124
- /* * This slots loads the current color map from a band */
125
- void on_pbtnLoadColorMapFromBand_clicked ();
126
- /* * This slots loads the current color map from a file */
127
- void on_pbtnLoadColorMapFromFile_clicked ();
128
- /* * This slot loads the minimum and maximum values from the raster band and updates the gui */
129
- void on_pbtnLoadMinMax_clicked ();
130
- /* * This slot sets the default band combination variable to current band combination */
131
- void on_pbtnMakeBandCombinationDefault_clicked ();
132
- /* * This slot sets the default contrast enhancement variable to current contrast enhancement algorithm */
133
- void on_pbtnMakeContrastEnhancementAlgorithmDefault_clicked ();
134
- /* * This slot sets the standard deviation default */
135
- void on_pbtnMakeStandardDeviationDefault_clicked ();
136
- /* * This slot will sort the color map in ascending order */
137
- void on_pbtnSortColorMap_clicked ();
138
87
/* * Load the default style when appropriate button is pressed. */
139
88
void on_pbnLoadDefaultStyle_clicked ();
140
89
/* * Save the default style when appropriate button is pressed. */
@@ -169,9 +118,6 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
169
118
int mDefaultGreenBand ;
170
119
int mDefaultBlueBand ;
171
120
172
- /* * \brief Internal flag used to short circuit signal loop between min max field and stdDev spin box */
173
- bool ignoreSpinBoxEvent;
174
-
175
121
/* * \brief Flag to indicate if Gray minimum maximum values are actual minimum maximum values */
176
122
bool mGrayMinimumMaximumEstimated ;
177
123
@@ -190,21 +136,12 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
190
136
191
137
QgsRasterRendererWidget* mRendererWidget ;
192
138
193
- /* * \brief Clear current color map table and population with values from new list */
194
- void populateColorMapTable ( const QList<QgsColorRampShader::ColorRampItem>& );
195
-
196
139
/* * \brief Clear the current transparency table and populate the table with the correct types for current drawing mode and data type*/
197
140
void populateTransparencyTable ();
198
141
199
- /* * \brief Set the message indicating if any min max values are estimates */
200
- void setMinimumMaximumEstimateWarning ();
201
-
202
142
/* *Restores the state of the colormap tab*/
203
143
void syncColormapTab ();
204
144
205
- /* * \brief Verify values in custom min max line edits */
206
- bool validUserDefinedMinMax ();
207
-
208
145
// @TODO we should move these gradient generators somewhere more generic
209
146
// so they can be used generically throughut the app
210
147
QLinearGradient greenGradient ();
0 commit comments