@@ -92,43 +92,45 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
92
92
void userDefinedMinMax_textEdited ( QString );
93
93
94
94
private slots:
95
- /* * This slow handles necessary interface modifiations (i.e., loading min max values) */
95
+ /* * This slow handles necessary interface modifications (i.e. loading min max values) */
96
96
void on_cboBlue_currentIndexChanged ( const QString& );
97
- /* * This slow handles necessary interface modifiations (i.e., loading min max values) */
97
+ /* * This slow handles necessary interface modifications (i.e. loading min max values) */
98
98
void on_cboGray_currentIndexChanged ( const QString& );
99
- /* * This slow handles necessary interface modifiations (i.e., loading min max values) */
99
+ /* * This slow handles necessary interface modifications (i.e. loading min max values) */
100
100
void on_cboGreen_currentIndexChanged ( const QString& );
101
- /* * This slow handles necessary interface modifiations (i.e., loading min max values) */
101
+ /* * This slow handles necessary interface modifications (i.e. loading min max values) */
102
102
void on_cboRed_currentIndexChanged ( const QString& );
103
- /* *The slot handles necessary interface modifications based when color map selected changes*/
103
+ /* * This slot handles necessary interface modifications based when color map selected changes */
104
104
void on_cboxColorMap_currentIndexChanged ( const QString& );
105
- /* *This slot calculates classification values and colors for the tree widget on the colormap tab*/
105
+ /* * This slot calculates classification values and colors for the tree widget on the colormap tab */
106
106
void on_mClassifyButton_clicked ();
107
- /* *This slot deletes the current class from the tree widget on the colormap tab*/
107
+ /* * This slot deletes the current class from the tree widget on the colormap tab */
108
108
void on_mDeleteEntryButton_clicked ();
109
- /* *Callback for double clicks on the colormap entry widget*/
109
+ /* * Callback for double clicks on the colormap entry widget */
110
110
void handleColormapTreeWidgetDoubleClick ( QTreeWidgetItem* item, int column );
111
- /* *This slot adds a new row to the color map table */
111
+ /* * This slot adds a new row to the color map table */
112
112
void on_pbtnAddColorMapEntry_clicked ();
113
- /* *This slots saves the current color map to a file */
113
+ /* * This slots saves the current color map to a file */
114
114
void on_pbtnExportColorMapToFile_clicked ();
115
- /* *This slots loads the current color map from a band */
115
+ /* * This slots loads the current color map from a band */
116
116
void on_pbtnLoadColorMapFromBand_clicked ();
117
- /* *This slots loads the current color map from a file */
117
+ /* * This slots loads the current color map from a file */
118
118
void on_pbtnLoadColorMapFromFile_clicked ();
119
- /* *This slot loads the minimum and maximum values from the raster band and updates the gui*/
119
+ /* * This slot loads the minimum and maximum values from the raster band and updates the gui */
120
120
void on_pbtnLoadMinMax_clicked ();
121
- /* *This slot sets the default band combination varaible to current band combination */
121
+ /* * This slot sets the default band combination variable to current band combination */
122
122
void on_pbtnMakeBandCombinationDefault_clicked ();
123
- /* *This slot sets the default contrast enhancement varaible to current contrast enhancement algorithm */
123
+ /* * This slot sets the default contrast enhancement variable to current contrast enhancement algorithm */
124
124
void on_pbtnMakeContrastEnhancementAlgorithmDefault_clicked ();
125
- /* *This slot will sort the color map in ascending order*/
125
+ /* * This slot sets the standard deviation default */
126
+ void on_pbtnMakeStandardDeviationDefault_clicked ();
127
+ /* * This slot will sort the color map in ascending order */
126
128
void on_pbtnSortColorMap_clicked ();
127
- /* * Load the default style when appriate button is pressed. */
129
+ /* * Load the default style when appropriate button is pressed. */
128
130
void on_pbnLoadDefaultStyle_clicked ();
129
- /* * Save the default style when appriate button is pressed. */
131
+ /* * Save the default style when appropriate button is pressed. */
130
132
void on_pbnSaveDefaultStyle_clicked ();
131
- /* * Load a saved style when appriate button is pressed. */
133
+ /* * Load a saved style when appropriate button is pressed. */
132
134
void on_pbnLoadStyle_clicked ();
133
135
/* * Save a style when appriate button is pressed. */
134
136
void on_pbnSaveStyleAs_clicked ();
@@ -148,6 +150,9 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
148
150
/* * \brief Default contrast enhancement algorithm */
149
151
QString mDefaultContrastEnhancementAlgorithm ;
150
152
153
+ /* * \brief default standard deviation */
154
+ double mDefaultStandardDeviation ;
155
+
151
156
/* * \brief Default band combination */
152
157
int mDefaultRedBand ;
153
158
int mDefaultGreenBand ;
0 commit comments