Skip to content

Commit ab7d15d

Browse files
pierreloicqnyalldawson
authored andcommittedSep 14, 2018
reaction to Travis
1 parent 0053630 commit ab7d15d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎src/core/symbology/qgsgraduatedsymbolrenderer.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
223223
void setMode( Mode mode ) { mMode = mode; }
224224

225225
/**
226-
* Get if we want to classify symmetric around a given value
226+
* Returns if we want to classify symmetric around a given value
227227
* \since QGIS 3.4
228228
*/
229229
bool useSymmetricMode() const { return mUseSymmetricMode; }
@@ -235,7 +235,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
235235
void setUseSymmetricMode( bool useSymmetricMode ) { mUseSymmetricMode = useSymmetricMode; }
236236

237237
/**
238-
* Get the pivot value for symmetric classification
238+
* Returns the pivot value for symmetric classification
239239
* \since QGIS 3.4
240240
*/
241241
double symmetryPoint() const { return mSymmetryPoint; }
@@ -247,7 +247,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
247247
void setSymmetryPoint( double symmetryPoint ) { mSymmetryPoint = symmetryPoint; }
248248

249249
/**
250-
* Get mListForCboPrettyBreaks, which is needed to recover this list in saved configuration, or when property window in closed and reopened
250+
* Returns the list of breaks used in the prettybreaks mode. Needed to recover this list in saved configuration, or when property window in closed and reopened
251251
* \since QGIS 3.4
252252
*/
253253
QStringList listForCboPrettyBreaks() const { return mListForCboPrettyBreaks; }
@@ -259,7 +259,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
259259
void setListForCboPrettyBreaks( QStringList listForCboPrettyBreaks ) { mListForCboPrettyBreaks = listForCboPrettyBreaks; }
260260

261261
/**
262-
* Get if we want to have a central class astride the pivot value
262+
* Returns if we want to have a central class astride the pivot value
263263
* \since QGIS 3.4
264264
*/
265265
bool astride() const { return mAstride; }
@@ -275,11 +275,10 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
275275
* \param vlayer The layer being rendered (from which data values are calculated)
276276
* \param mode The calculation mode
277277
* \param nclasses The number of classes to calculate (approximate for some modes)
278-
* \since QGIS 2.6
279278
* \param useSymmetricMode A bool indicating if we want to have classes and hence colors ramp symmetric around a value
280279
* \param symmetryPoint The value around which the classes will be symmetric if useSymmetricMode is checked
281280
* \param astride A bool indicating if the symmetry is made astride the symmetryPoint or not ( [-1,1] vs. [-1,0][0,1] )
282-
* \since QGIS 3.4
281+
* \since QGIS 2.6 (three first arguments) and 3.4 (three last arguments)
283282
*/
284283
void updateClasses( QgsVectorLayer *vlayer, Mode mode, int nclasses, bool useSymmetricMode = false, double symmetryPoint = 0.0, bool astride = false );
285284

0 commit comments

Comments
 (0)
Please sign in to comment.