Skip to content

Commit

Permalink
Merge pull request #43368 from DelazJ/temporalTypos
Browse files Browse the repository at this point in the history
Fix typos in temporal docs
  • Loading branch information
DelazJ committed May 25, 2021
1 parent c0e15c0 commit b8fe026
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions python/core/auto_generated/qgstemporalnavigationobject.sip.in
Expand Up @@ -67,7 +67,7 @@ Sets the temporal navigation ``mode``.

NavigationMode navigationMode() const;
%Docstring
Returns the currenttemporal navigation mode.
Returns the current temporal navigation mode.

.. seealso:: :py:func:`setNavigationMode`
%End
Expand Down Expand Up @@ -120,8 +120,8 @@ which together describe the complete range of times which contain data.
%Docstring
Sets the current animation ``frame`` number.

Caling this method will change the controllers current datetime range to match, based on the
:py:func:`~QgsTemporalNavigationObject.temporalExtents` and :py:func:`~QgsTemporalNavigationObject.frameDuration` values.
Calling this method will change the controllers current datetime range to match,
based on the :py:func:`~QgsTemporalNavigationObject.temporalExtents` and :py:func:`~QgsTemporalNavigationObject.frameDuration` values.

.. seealso:: :py:func:`currentFrameNumber`
%End
Expand Down
7 changes: 4 additions & 3 deletions python/gui/auto_generated/qgsmapcanvas.sip.in
Expand Up @@ -78,8 +78,9 @@ Gets access to properties used for map rendering

void setTemporalController( QgsTemporalController *controller );
%Docstring
Sets the temporal controller, tQgsMapCanvasInteractionBlockerhis controller will be used to
update the canvas temporal range.
Sets the temporal ``controller`` for this canvas.

The controller will be used to update the canvas' temporal range.

.. versionadded:: 3.14
%End
Expand All @@ -94,7 +95,7 @@ update the canvas temporal range.

void setDestinationCrs( const QgsCoordinateReferenceSystem &crs );
%Docstring
sets destination coordinate reference system
Sets destination coordinate reference system

.. versionadded:: 2.4
%End
Expand Down
6 changes: 3 additions & 3 deletions src/core/qgstemporalnavigationobject.h
Expand Up @@ -85,7 +85,7 @@ class CORE_EXPORT QgsTemporalNavigationObject : public QgsTemporalController, pu
void setNavigationMode( const NavigationMode mode );

/**
* Returns the currenttemporal navigation mode.
* Returns the current temporal navigation mode.
*
* \see setNavigationMode()
*/
Expand Down Expand Up @@ -134,8 +134,8 @@ class CORE_EXPORT QgsTemporalNavigationObject : public QgsTemporalController, pu
/**
* Sets the current animation \a frame number.
*
* Caling this method will change the controllers current datetime range to match, based on the
* temporalExtents() and frameDuration() values.
* Calling this method will change the controllers current datetime range to match,
* based on the temporalExtents() and frameDuration() values.
*
* \see currentFrameNumber()
*/
Expand Down
6 changes: 3 additions & 3 deletions src/gui/qgsmapcanvas.h
Expand Up @@ -133,9 +133,9 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView, public QgsExpressionContex
const QgsMapSettings &mapSettings() const SIP_KEEPREFERENCE;

/**
* Sets the temporal controller, tQgsMapCanvasInteractionBlockerhis controller will be used to
* update the canvas temporal range.
* Sets the temporal \a controller for this canvas.
*
* The controller will be used to update the canvas' temporal range.
* \since QGIS 3.14
*/
void setTemporalController( QgsTemporalController *controller );
Expand All @@ -149,7 +149,7 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView, public QgsExpressionContex
const QgsTemporalController *temporalController() const;

/**
* sets destination coordinate reference system
* Sets destination coordinate reference system
* \since QGIS 2.4
*/
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs );
Expand Down

0 comments on commit b8fe026

Please sign in to comment.