Skip to content
Permalink
Browse files

Replace "eg" by "e.g." or "for example"

  • Loading branch information
DelazJ committed Dec 29, 2016
1 parent 5e87155 commit ef85cdcf83069f77421b563c4cad1b262674a21a
Showing with 405 additions and 404 deletions.
  1. +2 −2 INSTALL
  2. +2 −2 NEWS
  3. +2 −2 doc/INSTALL.html
  4. +2 −2 doc/news.html
  5. +1 −1 doc/news.t2t
  6. +2 −2 doc/overview.t2t
  7. +1 −1 python/core/composer/qgscomposerattributetablev2.sip
  8. +3 −3 python/core/composer/qgscomposeritem.sip
  9. +1 −1 python/core/composer/qgscomposermapitem.sip
  10. +1 −1 python/core/composer/qgscomposermultiframe.sip
  11. +1 −1 python/core/composer/qgscomposition.sip
  12. +1 −1 python/core/effects/qgscoloreffect.sip
  13. +1 −1 python/core/geometry/qgsabstractgeometry.sip
  14. +2 −2 python/core/geometry/qgsgeometry.sip
  15. +5 −5 python/core/geometry/qgspointv2.sip
  16. +5 −5 python/core/geometry/qgswkbtypes.sip
  17. +2 −2 python/core/qgis.sip
  18. +1 −1 python/core/qgsapplication.sip
  19. +2 −2 python/core/qgscolorramp.sip
  20. +5 −5 python/core/qgscoordinatereferencesystem.sip
  21. +2 −2 python/core/qgsdatetimestatisticalsummary.sip
  22. +2 −2 python/core/qgsdistancearea.sip
  23. +6 −6 python/core/qgsexpression.sip
  24. +1 −1 python/core/qgsexpressioncontext.sip
  25. +2 −2 python/core/qgsfield.sip
  26. +2 −2 python/core/qgsfontutils.sip
  27. +8 −8 python/core/qgspallabeling.sip
  28. +4 −4 python/core/qgspoint.sip
  29. +2 −2 python/core/qgsproject.sip
  30. +2 −2 python/core/qgsstatisticalsummary.sip
  31. +2 −2 python/core/qgsstringstatisticalsummary.sip
  32. +2 −2 python/core/qgsstringutils.sip
  33. +1 −1 python/core/qgstaskmanager.sip
  34. +13 −13 python/core/qgstextrenderer.sip
  35. +4 −4 python/core/qgsunittypes.sip
  36. +4 −4 python/core/qgsvectordataprovider.sip
  37. +1 −1 python/core/qgsvectorlayer.sip
  38. +1 −1 python/core/qgsvectorlayerutils.sip
  39. +1 −1 python/core/symbology-ng/qgsfillsymbollayer.sip
  40. +4 −4 python/core/symbology-ng/qgsmarkersymbollayer.sip
  41. +1 −1 python/core/symbology-ng/qgspointdistancerenderer.sip
  42. +1 −1 python/core/symbology-ng/qgsrendererregistry.sip
  43. +2 −2 python/core/symbology-ng/qgssymbol.sip
  44. +3 −3 python/core/symbology-ng/qgssymbollayer.sip
  45. +2 −2 python/gui/editorwidgets/core/qgssearchwidgetwrapper.sip
  46. +1 −1 python/gui/qgsattributedialog.sip
  47. +1 −1 python/gui/qgsattributeformeditorwidget.sip
  48. +5 −5 python/gui/qgscolorwidgets.sip
  49. +1 −1 python/gui/qgsexpressionbuilderwidget.sip
  50. +1 −1 python/gui/qgspanelwidget.sip
  51. +1 −1 python/gui/qgsshortcutsmanager.sip
  52. +2 −2 python/gui/qgsvariableeditorwidget.sip
  53. +2 −2 python/gui/symbology-ng/qgslayerpropertieswidget.sip
  54. +4 −4 python/gui/symbology-ng/qgsrendererwidget.sip
  55. +2 −2 python/gui/symbology-ng/qgssymbollayerwidget.sip
  56. +4 −4 python/gui/symbology-ng/qgssymbolselectordialog.sip
  57. +2 −2 python/gui/symbology-ng/qgssymbolslistwidget.sip
  58. +1 −1 python/gui/symbology-ng/qgssymbolwidgetcontext.sip
  59. +1 −1 python/plugins/db_manager/dlg_sql_layer_window.py
  60. +1 −1 python/plugins/db_manager/dlg_sql_window.py
  61. +3 −3 python/plugins/processing/algs/help/qgis.yaml
  62. +5 −5 resources/context_help/QgsDelimitedTextSourceSelect
  63. +1 −1 resources/context_help/QgsOpenVectorLayerDialog
  64. +1 −1 resources/context_help/QgsPgNewConnection
  65. +1 −1 resources/context_help/QgsQueryBuilder
  66. +1 −1 resources/function_help/json/$area
  67. +1 −1 resources/function_help/json/$length
  68. +1 −1 resources/function_help/json/$perimeter
  69. +1 −1 resources/function_help/json/boundary
  70. +1 −1 resources/function_help/json/color_part
  71. +1 −1 resources/function_help/json/layer_property
  72. +1 −1 resources/function_help/json/longest_common_substring
  73. +1 −1 resources/function_help/json/regexp_match
  74. +1 −1 resources/function_help/json/regexp_replace
  75. +1 −1 resources/function_help/json/regexp_substr
  76. +1 −1 resources/function_help/json/set_color_part
  77. +1 −1 resources/function_help/json/simplify_vw
  78. +3 −3 scripts/qgis_fixes/fix_uiimport.py
  79. +1 −1 scripts/qgis_srs.sh
  80. +1 −0 scripts/spelling.dat
  81. +1 −1 src/app/composer/qgscomposer.cpp
  82. +2 −2 src/app/composer/qgscomposeritemwidget.h
  83. +1 −1 src/app/nodetool/qgsselectedfeature.cpp
  84. +2 −2 src/app/qgsmeasuredialog.cpp
  85. +1 −1 src/app/qgsmergeattributesdialog.h
  86. +1 −1 src/core/composer/qgscomposerattributetablev2.h
  87. +3 −3 src/core/composer/qgscomposeritem.h
  88. +1 −1 src/core/composer/qgscomposermap.cpp
  89. +3 −3 src/core/composer/qgscomposermapgrid.cpp
  90. +1 −1 src/core/composer/qgscomposermapitem.h
  91. +1 −1 src/core/composer/qgscomposermodel.cpp
  92. +2 −2 src/core/composer/qgscomposermousehandles.cpp
  93. +1 −1 src/core/composer/qgscomposermultiframe.h
  94. +1 −1 src/core/composer/qgscomposertablev2.cpp
  95. +1 −1 src/core/composer/qgscomposition.cpp
  96. +2 −2 src/core/composer/qgscomposition.h
  97. +1 −1 src/core/effects/qgscoloreffect.h
  98. +1 −1 src/core/geometry/qgsabstractgeometry.h
  99. +7 −7 src/core/geometry/qgsgeometry.h
  100. +1 −1 src/core/geometry/qgsgeometryutils.h
  101. +3 −3 src/core/geometry/qgspointv2.h
  102. +5 −5 src/core/geometry/qgswkbtypes.h
  103. +1 −1 src/core/pal/feature.cpp
  104. +2 −2 src/core/pal/labelposition.cpp
  105. +1 −1 src/core/pal/rtree.hpp
  106. +2 −2 src/core/qgis.h
  107. +1 −1 src/core/qgsapplication.h
  108. +2 −2 src/core/qgscolorramp.h
  109. +5 −5 src/core/qgscoordinatereferencesystem.h
  110. +1 −1 src/core/qgsdatasourceuri.h
  111. +2 −2 src/core/qgsdatetimestatisticalsummary.h
  112. +2 −2 src/core/qgsdistancearea.h
  113. +4 −4 src/core/qgsexpression.cpp
  114. +6 −6 src/core/qgsexpression.h
  115. +1 −1 src/core/qgsexpressioncontext.h
  116. +1 −1 src/core/qgsfield.cpp
  117. +2 −2 src/core/qgsfield.h
  118. +2 −2 src/core/qgsfontutils.h
  119. +1 −1 src/core/qgslabelfeature.h
  120. +1 −1 src/core/qgsmaplayer.h
  121. +1 −1 src/core/qgspalgeometry.h
  122. +1 −1 src/core/qgspallabeling.cpp
  123. +8 −8 src/core/qgspallabeling.h
  124. +3 −3 src/core/qgspoint.cpp
  125. +4 −4 src/core/qgspoint.h
  126. +2 −2 src/core/qgsproject.h
  127. +2 −2 src/core/qgssqlexpressioncompiler.h
  128. +2 −2 src/core/qgsstatisticalsummary.h
  129. +2 −2 src/core/qgsstringstatisticalsummary.h
  130. +2 −2 src/core/qgsstringutils.h
  131. +1 −1 src/core/qgstaskmanager.h
  132. +1 −1 src/core/qgstextlabelfeature.h
  133. +14 −14 src/core/qgstextrenderer.h
  134. +1 −1 src/core/qgstextrenderer_p.h
  135. +4 −4 src/core/qgsunittypes.h
  136. +4 −4 src/core/qgsvectordataprovider.h
  137. +1 −1 src/core/qgsvectorlayer.h
  138. +1 −1 src/core/qgsvectorlayerdiagramprovider.h
  139. +1 −1 src/core/qgsvectorlayerlabelprovider.h
  140. +1 −1 src/core/qgsvectorlayerutils.h
  141. +1 −1 src/core/symbology-ng/qgsfillsymbollayer.h
  142. +1 −1 src/core/symbology-ng/qgslinesymbollayer.cpp
  143. +4 −4 src/core/symbology-ng/qgsmarkersymbollayer.h
  144. +2 −2 src/core/symbology-ng/qgspointdistancerenderer.cpp
  145. +1 −1 src/core/symbology-ng/qgspointdistancerenderer.h
  146. +1 −1 src/core/symbology-ng/qgsrendererregistry.h
  147. +2 −2 src/core/symbology-ng/qgssymbol.h
  148. +3 −3 src/core/symbology-ng/qgssymbollayer.h
  149. +1 −1 src/gui/editorwidgets/core/qgseditorwidgetautoconf.cpp
  150. +2 −2 src/gui/editorwidgets/core/qgssearchwidgetwrapper.h
  151. +1 −1 src/gui/editorwidgets/qgstexteditwrapper.cpp
  152. +1 −1 src/gui/qgsattributedialog.h
  153. +2 −2 src/gui/qgsattributeform.cpp
  154. +1 −1 src/gui/qgsattributeformeditorwidget.h
  155. +6 −6 src/gui/qgscolorwidgets.h
  156. +3 −3 src/gui/qgscomposerruler.cpp
  157. +2 −2 src/gui/qgscomposerview.cpp
  158. +1 −1 src/gui/qgsexpressionbuilderwidget.h
  159. +1 −1 src/gui/qgspanelwidget.cpp
  160. +1 −1 src/gui/qgspanelwidget.h
  161. +1 −1 src/gui/qgsrubberband.cpp
  162. +1 −1 src/gui/qgsshortcutsmanager.h
  163. +1 −1 src/gui/qgstextannotationitem.cpp
  164. +2 −2 src/gui/qgsvariableeditorwidget.h
  165. +2 −2 src/gui/symbology-ng/qgslayerpropertieswidget.h
  166. +4 −4 src/gui/symbology-ng/qgsrendererwidget.h
  167. +2 −2 src/gui/symbology-ng/qgssymbollayerwidget.h
  168. +4 −4 src/gui/symbology-ng/qgssymbolselectordialog.h
  169. +2 −2 src/gui/symbology-ng/qgssymbolslistwidget.h
  170. +1 −1 src/gui/symbology-ng/qgssymbolwidgetcontext.h
  171. +1 −1 src/plugins/grass/qgsgrassmapcalc.h
  172. +2 −2 src/plugins/grass/qtermwidget/Emulation.h
  173. +2 −2 src/plugins/grass/qtermwidget/Filter.cpp
  174. +2 −2 src/plugins/grass/qtermwidget/Filter.h
  175. +1 −1 src/plugins/grass/qtermwidget/KeyboardTranslator.cpp
  176. +1 −1 src/plugins/grass/qtermwidget/KeyboardTranslator.h
  177. +2 −2 src/plugins/grass/qtermwidget/Session.cpp
  178. +2 −2 src/plugins/grass/qtermwidget/Session.h
  179. +2 −2 src/plugins/grass/qtermwidget/ShellCommand.h
  180. +3 −3 src/plugins/grass/qtermwidget/TerminalDisplay.h
  181. +5 −5 src/providers/delimitedtext/qgsdelimitedtextfile.h
  182. +2 −2 src/providers/oracle/ocispatial/qsql_ocispatial.cpp
  183. +1 −1 src/providers/postgres/qgspostgresfeatureiterator.cpp
  184. +1 −1 src/providers/postgres/qgspostgresprovider.h
  185. +2 −2 src/providers/spatialite/qgsspatialitefeatureiterator.cpp
  186. +3 −3 src/ui/composer/qgscomposerscalebarwidgetbase.ui
  187. +1 −1 src/ui/composer/qgscomposertablebackgroundstyles.ui
  188. +2 −2 src/ui/editorwidgets/qgsexternalresourceconfigdlg.ui
  189. +1 −1 tests/src/core/testqgsapplication.cpp
  190. +1 −1 tests/src/core/testqgslabelingengine.cpp
  191. +1 −1 tests/src/gui/testqgsscalecombobox.cpp
  192. +1 −1 tests/src/python/providertestbase.py
  193. +1 −1 tests/src/python/test_qgsserver_accesscontrol.py
  194. +1 −1 tests/src/python/utilities.py
@@ -87,7 +87,7 @@ source directory.
2. Overview
===========

QGIS, like a number of major projects (eg. KDE 4.0), uses CMake
QGIS, like a number of major projects (e.g., KDE 4.0), uses CMake
(http://www.cmake.org) for building from source.

Following a summary of the required dependencies for building:
@@ -125,7 +125,7 @@ Optional dependencies:

Indirect dependencies:

Some proprietary formats (eg. ECW and MrSid) supported by GDAL require
Some proprietary formats (e.g., ECW and MrSid) supported by GDAL require
proprietary third party libraries. QGIS doesn't need any of those itself to
build, but will only support those formats if GDAL is built accordingly. Refer
to http://gdal.org/formats_list.html ff. for instructions how to include
4 NEWS
@@ -94,7 +94,7 @@ This release has following new features:
- Map Composer: Parameterized svg support for composer svg images
- Map Composer: Easier use of HTML in labels
- Map Composer: Relative links in composer labels
- Map Composer: Georeference outputs (eg PDF) from composer
- Map Composer: Georeference outputs (e.g., PDF) from composer
- Map Composer: Composer maps now auto-update with presets
- Analysis tools: Named parameters in expressions
- Analysis tools: More distance units
@@ -814,7 +814,7 @@ changed so we will just provide a bullet list of key new features here.

- Optionally re-use entered attribute values for next digitized feature.
- Allow merging/assigning attribute values to a set of features.-
- Allow OGR 'save as' without attributes (for eg. DGN/DXF).
- Allow OGR 'save as' without attributes (e.g., DGN/DXF).


14.7. Api and Developer Centric
@@ -186,7 +186,7 @@ <H1>1. Introduction</H1>
<H1>2. Overview</H1>

<P>
QGIS, like a number of major projects (eg. KDE 4.0), uses CMake
QGIS, like a number of major projects (e.g., KDE 4.0), uses CMake
(<A HREF="http://www.cmake.org">http://www.cmake.org</A>) for building from source.
</P>
<P>
@@ -239,7 +239,7 @@ <H1>2. Overview</H1>
Indirect dependencies:
</P>
<P>
Some proprietary formats (eg. ECW and MrSid) supported by GDAL require
Some proprietary formats (e.g., ECW and MrSid) supported by GDAL require
proprietary third party libraries. QGIS doesn't need any of those itself to
build, but will only support those formats if GDAL is built accordingly. Refer
to <A HREF="http://gdal.org/formats_list.html">http://gdal.org/formats_list.html</A> ff. for instructions how to include
@@ -174,7 +174,7 @@ <H1>1. What's new in Version 2.16 'Nødebo'?</H1>
<LI>Map Composer: Parameterized svg support for composer svg images
<LI>Map Composer: Easier use of HTML in labels
<LI>Map Composer: Relative links in composer labels
<LI>Map Composer: Georeference outputs (eg PDF) from composer
<LI>Map Composer: Georeference outputs (e.g., PDF) from composer
<LI>Map Composer: Composer maps now auto-update with presets
<LI>Analysis tools: Named parameters in expressions
<LI>Analysis tools: More distance units
@@ -935,7 +935,7 @@ <H2>14.6. Providers and Data Handling</H2>
<UL>
<LI>Optionally re-use entered attribute values for next digitized feature.
<LI>Allow merging/assigning attribute values to a set of features.-
<LI>Allow OGR 'save as' without attributes (for eg. DGN/DXF).
<LI>Allow OGR 'save as' without attributes (e.g., DGN/DXF).
</UL>
</UL>

@@ -795,7 +795,7 @@ changed so we will just provide a bullet list of key new features here.

- Optionally re-use entered attribute values for next digitized feature.
- Allow merging/assigning attribute values to a set of features.-
- Allow OGR 'save as' without attributes (for eg. DGN/DXF).
- Allow OGR 'save as' without attributes (e.g., DGN/DXF).
-
-

@@ -1,7 +1,7 @@

= Overview =

QGIS, like a number of major projects (eg. KDE 4.0), uses CMake
QGIS, like a number of major projects (e.g., KDE 4.0), uses CMake
(http://www.cmake.org) for building from source.

Following a summary of the required dependencies for building:
@@ -45,7 +45,7 @@ Optional dependencies:

Indirect dependencies:

Some proprietary formats (eg. ECW and MrSid) supported by GDAL require
Some proprietary formats (e.g., ECW and MrSid) supported by GDAL require
proprietary third party libraries. QGIS doesn't need any of those itself to
build, but will only support those formats if GDAL is built accordingly. Refer
to http://gdal.org/formats_list.html ff. for instructions how to include
@@ -76,7 +76,7 @@ class QgsComposerAttributeTableV2 : QgsComposerTableV2
*/
ContentSource source() const;

/** Returns the source layer for the table, considering the table source mode. Eg,
/** Returns the source layer for the table, considering the table source mode. For example,
* if the table is set to atlas feature mode, then the source layer will be the
* atlas coverage layer. If the table is set to layer attributes mode, then
* the source layer will be the user specified vector layer.
@@ -416,15 +416,15 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
*/
void setTransparency( const int transparency );

/** Returns whether effects (eg blend modes) are enabled for the item
/** Returns whether effects (e.g., blend modes) are enabled for the item
* @returns true if effects are enabled
* @see setEffectsEnabled
* @see transparency
* @see blendMode
*/
bool effectsEnabled() const;

/** Sets whether effects (eg blend modes) are enabled for the item
/** Sets whether effects (e.g., blend modes) are enabled for the item
* @param effectsEnabled set to true to enable effects
* @see effectsEnabled
* @see setTransparency
@@ -508,7 +508,7 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
/** Sets visibility for item.
* @param visible set to true to show item, false to hide item
* @note QGraphicsItem::setVisible should not be called directly
* on a QgsComposerItem, as some item types (eg groups) need to override
* on a QgsComposerItem, as some item types (e.g., groups) need to override
* the visibility toggle.
* @note added in version 2.5
*/
@@ -1,6 +1,6 @@
/** \ingroup core
* \class QgsComposerMapItem
* \brief An item which is drawn inside a QgsComposerMap, eg a grid or map overview.
* \brief An item which is drawn inside a QgsComposerMap, e.g., a grid or map overview.
*/
class QgsComposerMapItem : QgsComposerObject
{
@@ -205,7 +205,7 @@ class QgsComposerMultiFrame: QgsComposerObject

/** Creates a new frame and adds it to the multi frame and composition.
* @param currentFrame an existing QgsComposerFrame from which to copy the size
* and general frame properties (eg frame style, background, rendering settings).
* and general frame properties (e.g., frame style, background, rendering settings).
* @param pos position of top-left corner of the new frame
* @param size size of the new frame
* @returns new QgsComposerFrame
@@ -732,7 +732,7 @@ class QgsComposition : QGraphicsScene, QgsExpressionContextGenerator

/** Calculates the bounds of all non-gui items in the composition. Ignores snap lines and mouse handles.
* @param ignorePages set to true to ignore page items
* @param margin optional marginal (in percent, eg 0.05 = 5% ) to add around items
* @param margin optional marginal (in percent, e.g., 0.05 = 5% ) to add around items
*/
QRectF compositionBounds( bool ignorePages = false, double margin = 0.0 ) const;

@@ -1,6 +1,6 @@
/** \ingroup core
* \class QgsColorEffect
* \brief A paint effect which alters the colors (eg brightness, contrast) in a
* \brief A paint effect which alters the colors (e.g., brightness, contrast) in a
* source picture.
*
* \note Added in version 2.9
@@ -398,7 +398,7 @@ class QgsAbstractGeometry
*/
virtual QgsRectangle calculateBoundingBox() const;

/** Clears any cached parameters associated with the geometry, eg bounding boxes
/** Clears any cached parameters associated with the geometry, e.g., bounding boxes
*/
virtual void clearCache() const;
};
@@ -551,7 +551,7 @@ class QgsGeometry

/**
* Returns a point guaranteed to lie on the surface of a geometry. While the centroid()
* of a geometry may be located outside of the geometry itself (eg for concave shapes),
* of a geometry may be located outside of the geometry itself (e.g., for concave shapes),
* the point on surface will always be inside the geometry.
* @see centroid()
* @see poleOfInaccessibility()
@@ -892,7 +892,7 @@ class QgsGeometry
* @param iterations number of smoothing iterations to run. More iterations results
* in a smoother geometry
* @param offset fraction of line to create new vertices along, between 0 and 1.0
* eg the default value of 0.25 will create new vertices 25% and 75% along each line segment
* For example, the default value of 0.25 will create new vertices 25% and 75% along each line segment
* of the geometry for each iteration. Smaller values result in "tighter" smoothing.
* @param minimumDistance minimum segment length to apply smoothing to
* @param maxAngle maximum angle at node (0-180) at which smoothing will be applied
@@ -25,7 +25,7 @@ class QgsPointV2: public QgsAbstractGeometry
*/
explicit QgsPointV2( QPointF p );

/** Construct a point with a specified type (eg PointZ, PointM) and initial x, y, z, and m values.
/** Construct a point with a specified type (e.g., PointZ, PointM) and initial x, y, z, and m values.
* @param type point type
* @param x x-coordinate of point
* @param y y-coordinate of point
@@ -140,17 +140,17 @@ class QgsPointV2: public QgsAbstractGeometry

/**
* Returns the distance between this point and a specified x, y coordinate. In certain
* cases it may be more appropriate to call the faster distanceSquared() method, eg
* when comparing distances.
* cases it may be more appropriate to call the faster distanceSquared() method,
* e.g., when comparing distances.
* @note added in QGIS 3.0
* @see distanceSquared()
*/
double distance( double x, double y ) const;

/**
* Returns the 2D distance between this point and another point. In certain
* cases it may be more appropriate to call the faster distanceSquared() method, eg
* when comparing distances.
* cases it may be more appropriate to call the faster distanceSquared() method,
* e.g., when comparing distances.
* @note added in QGIS 3.0
*/
double distance( const QgsPointV2& other ) const;
@@ -75,22 +75,22 @@ class QgsWkbTypes
NullGeometry
};

/** Returns the single type for a WKB type. Eg, for MultiPolygon WKB types the single type would be Polygon.
/** Returns the single type for a WKB type. For example, for MultiPolygon WKB types the single type would be Polygon.
* @see isSingleType()
* @see multiType()
* @see flatType()
*/
static Type singleType( Type type );

/** Returns the multi type for a WKB type. Eg, for Polygon WKB types the multi type would be MultiPolygon.
/** Returns the multi type for a WKB type. For example, for Polygon WKB types the multi type would be MultiPolygon.
* @see isMultiType()
* @see singleType()
* @see flatType()
*/
static Type multiType( Type type );

/** Returns the flat type for a WKB type. This is the WKB type minus any Z or M dimensions.
* Eg, for PolygonZM WKB types the single type would be Polygon.
* For example, for PolygonZM WKB types the single type would be Polygon.
* @see singleType()
* @see multiType()
*/
@@ -137,12 +137,12 @@ class QgsWkbTypes
*/
static int coordDimensions( Type type );

/** Returns the geometry type for a WKB type, eg both MultiPolygon and CurvePolygon would have a
/** Returns the geometry type for a WKB type, e.g., both MultiPolygon and CurvePolygon would have a
* PolygonGeometry geometry type.
*/
static GeometryType geometryType( Type type );

/** Returns a display string type for a WKB type, eg the geometry name used in WKT geometry representations.
/** Returns a display string type for a WKB type, e.g., the geometry name used in WKT geometry representations.
*/
static QString displayString( Type type );

@@ -104,7 +104,7 @@ class Qgis
static double SCALE_PRECISION;
};

/** Converts a string to a double in a permissive way, eg allowing for incorrect
/** Converts a string to a double in a permissive way, e.g., allowing for incorrect
* numbers of digits between thousand separators
* @param string string to convert
* @param ok will be set to true if conversion was successful
@@ -114,7 +114,7 @@ class Qgis
*/
double qgsPermissiveToDouble( QString string, bool& ok );

/** Converts a string to an integer in a permissive way, eg allowing for incorrect
/** Converts a string to an integer in a permissive way, e.g., allowing for incorrect
* numbers of digits between thousand separators
* @param string string to convert
* @param ok will be set to true if conversion was successful
@@ -248,7 +248,7 @@ static void qtgui_UpdatePyArgv(PyObject *argvlist, int argc, char **argv)
*/
static QString osName();

/** Returns the QGIS platform name, eg "desktop" or "server".
/** Returns the QGIS platform name, e.g., "desktop" or "server".
* @note added in QGIS 2.14
* @see osName()
*/
@@ -183,12 +183,12 @@ class QgsGradientColorRamp : QgsColorRamp
*/
QgsGradientStopsList stops() const;

/** Returns any additional info attached to the gradient ramp (eg authorship notes)
/** Returns any additional info attached to the gradient ramp (e.g., authorship notes)
* @see setInfo()
*/
QgsStringMap info() const;

/** Sets additional info to attach to the gradient ramp (eg authorship notes)
/** Sets additional info to attach to the gradient ramp (e.g., authorship notes)
* @param info map of string info to attach
* @see info()
*/
@@ -186,7 +186,7 @@ class QgsCoordinateReferenceSystem
// static creators

/** Creates a CRS from a given OGC WMS-format Coordinate Reference System string.
* @param ogcCrs OGR compliant CRS definition, eg "EPSG:4326"
* @param ogcCrs OGR compliant CRS definition, e.g., "EPSG:4326"
* @returns matching CRS, or an invalid CRS if string could not be matched
* @note added in QGIS 3.0
* @see createFromOgcWmsCrs()
@@ -416,9 +416,9 @@ class QgsCoordinateReferenceSystem

/** Returns the authority identifier for the CRS.
*
* The identifier includes both the authority (eg EPSG) and the CRS number (eg 4326).
* The identifier includes both the authority (e.g., EPSG) and the CRS number (e.g., 4326).
* This is the best method to use when showing a very short CRS identifier to a user,
* eg "EPSG:4326".
* e.g., "EPSG:4326".
*
* If CRS object is a custom CRS (not found in database), the method will return
* internal QGIS CRS ID with "QGIS" authority, for example "QGIS:100005"
@@ -427,7 +427,7 @@ class QgsCoordinateReferenceSystem
*/
QString authid() const;

/** Returns the descriptive name of the CRS, eg "WGS 84" or "GDA 94 / Vicgrid94". In most
/** Returns the descriptive name of the CRS, e.g., "WGS 84" or "GDA 94 / Vicgrid94". In most
* cases this is the best method to use when showing a friendly identifier for the CRS to a
* user.
* @returns descriptive name of the CRS
@@ -472,7 +472,7 @@ class QgsCoordinateReferenceSystem
*/
bool isGeographic() const;

/** Returns whether axis is inverted (eg. for WMS 1.3) for the CRS.
/** Returns whether axis is inverted (e.g., for WMS 1.3) for the CRS.
* @returns true if CRS axis is inverted
*/
bool hasAxisInverted() const;
@@ -37,13 +37,13 @@ class QgsDateTimeStatisticalSummary
QgsDateTimeStatisticalSummary( QgsDateTimeStatisticalSummary::Statistics stats = All );

/** Returns flags which specify which statistics will be calculated. Some statistics
* are always calculated (eg count).
* are always calculated (e.g., count).
* @see setStatistics
*/
Statistics statistics() const;

/** Sets flags which specify which statistics will be calculated. Some statistics
* are always calculated (eg count).
* are always calculated (e.g., count).
* @param stats flags for statistics to calculate
* @see statistics
*/
@@ -167,7 +167,7 @@ class QgsDistanceArea
* @param distance distance to format
* @param decimals number of decimal places to show
* @param unit unit of distance
* @param keepBaseUnit set to false to allow conversion of large distances to more suitable units, eg meters to
* @param keepBaseUnit set to false to allow conversion of large distances to more suitable units, e.g., meters to
* kilometers
* @returns formatted distance string
* @note added in QGIS 2.16
@@ -179,7 +179,7 @@ class QgsDistanceArea
* @param area area to format
* @param decimals number of decimal places to show
* @param unit unit of area
* @param keepBaseUnit set to false to allow conversion of large areas to more suitable units, eg square meters to
* @param keepBaseUnit set to false to allow conversion of large areas to more suitable units, e.g., square meters to
* square kilometers
* @returns formatted area string
* @note added in QGIS 2.14

0 comments on commit ef85cdc

Please sign in to comment.
You can’t perform that action at this time.