Skip to content

Commit 10707b8

Browse files
committed
Improve documentation
1 parent b077265 commit 10707b8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

python/gui/qgsscalerangewidget.sip

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class QgsScaleRangeWidget : QWidget
3333

3434
double minimumScale() const;
3535
%Docstring
36-
Returns the selected minimum scale, or 0 if minimum scale is not set.
36+
Returns the selected minimum scale (i.e. most "zoomed out" scale), or 0 if minimum scale is not set.
3737
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
3838
.. seealso:: maximumScale()
3939
.. seealso:: setMinimumScale()
@@ -42,7 +42,7 @@ class QgsScaleRangeWidget : QWidget
4242

4343
double maximumScale() const;
4444
%Docstring
45-
Returns the selected maximum scale, or 0 if maximum scale is not set.
45+
Returns the selected maximum scale (i.e. most "zoomed in" scale), or 0 if maximum scale is not set.
4646
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
4747
.. seealso:: minimumScale()
4848
.. seealso:: setMaximumScale()
@@ -58,7 +58,7 @@ class QgsScaleRangeWidget : QWidget
5858

5959
void setMinimumScale( double scale );
6060
%Docstring
61-
Set the minimum ``scale``, or 0 to indicate the minimum is not set.
61+
Set the minimum ``scale`` (i.e. most "zoomed out" scale), or 0 to indicate the minimum is not set.
6262
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
6363
.. seealso:: minimumScale()
6464
.. seealso:: setMaximumScale()
@@ -67,7 +67,7 @@ class QgsScaleRangeWidget : QWidget
6767

6868
void setMaximumScale( double scale );
6969
%Docstring
70-
Set the maximum ``scale``, or 0 to indicate the minimum is not set.
70+
Set the maximum ``scale`` (i.e. most "zoomed in" scale), or 0 to indicate the minimum is not set.
7171
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
7272
.. seealso:: maximumScale()
7373
.. seealso:: setMinimumScale()
@@ -76,7 +76,7 @@ class QgsScaleRangeWidget : QWidget
7676

7777
void setScaleRange( double min, double max );
7878
%Docstring
79-
Sets the scale range, from ``min`` scale to ``max`` scale.
79+
Sets the scale range, from ``min`` scale (i.e. most "zoomed out" scale) to ``max`` scale (most "zoomed in" scale).
8080
The scale values indicates the scale denominator, e.g. 1000.0 for a 1:1000 map,
8181
or 0 to indicate not set.
8282
.. seealso:: setMinimumScale()

src/gui/qgsscalerangewidget.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ class GUI_EXPORT QgsScaleRangeWidget : public QWidget
4949
void setMapCanvas( QgsMapCanvas *canvas );
5050

5151
/**
52-
* Returns the selected minimum scale, or 0 if minimum scale is not set.
52+
* Returns the selected minimum scale (i.e. most "zoomed out" scale), or 0 if minimum scale is not set.
5353
* The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
5454
* \see maximumScale()
5555
* \see setMinimumScale()
5656
*/
5757
double minimumScale() const;
5858

5959
/**
60-
* Returns the selected maximum scale, or 0 if maximum scale is not set.
60+
* Returns the selected maximum scale (i.e. most "zoomed in" scale), or 0 if maximum scale is not set.
6161
* The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
6262
* \see minimumScale()
6363
* \see setMaximumScale()
@@ -72,7 +72,7 @@ class GUI_EXPORT QgsScaleRangeWidget : public QWidget
7272
public slots:
7373

7474
/**
75-
* Set the minimum \a scale, or 0 to indicate the minimum is not set.
75+
* Set the minimum \a scale (i.e. most "zoomed out" scale), or 0 to indicate the minimum is not set.
7676
* The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
7777
* \see minimumScale()
7878
* \see setMaximumScale()
@@ -81,7 +81,7 @@ class GUI_EXPORT QgsScaleRangeWidget : public QWidget
8181
void setMinimumScale( double scale );
8282

8383
/**
84-
* Set the maximum \a scale, or 0 to indicate the minimum is not set.
84+
* Set the maximum \a scale (i.e. most "zoomed in" scale), or 0 to indicate the minimum is not set.
8585
* The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
8686
* \see maximumScale()
8787
* \see setMinimumScale()
@@ -90,7 +90,7 @@ class GUI_EXPORT QgsScaleRangeWidget : public QWidget
9090
void setMaximumScale( double scale );
9191

9292
/**
93-
* Sets the scale range, from \a min scale to \a max scale.
93+
* Sets the scale range, from \a min scale (i.e. most "zoomed out" scale) to \a max scale (most "zoomed in" scale).
9494
* The scale values indicates the scale denominator, e.g. 1000.0 for a 1:1000 map,
9595
* or 0 to indicate not set.
9696
* \see setMinimumScale()

0 commit comments

Comments
 (0)