Skip to content
Permalink
Browse files

Dox++

  • Loading branch information
nyalldawson committed Mar 5, 2020
1 parent 326f583 commit 266d920d99f1762c2697320098000ab01877ed8a
Showing with 12 additions and 6 deletions.
  1. +7 −3 python/gui/auto_generated/qgsmapcanvas.sip.in
  2. +5 −3 src/gui/qgsmapcanvas.h
@@ -732,11 +732,15 @@ for the canvas.
%End


void setTemporalRange( const QgsDateTimeRange &dateTimeRange );
void setTemporalRange( const QgsDateTimeRange &range );
%Docstring
Set datetime range for the map canvas.
Set datetime ``range`` for the map canvas.

Emits temporalRangeChanged(), after a successful update.
The temporalRangeChanged() signal will be emitted if the temporal range has been changed.

.. note::

Calling setTemporalRange() does not automatically trigger a map refresh.

.. seealso:: :py:func:`temporalRange`

@@ -670,14 +670,16 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
void setCustomDropHandlers( const QVector<QPointer<QgsCustomDropHandler >> &handlers ) SIP_SKIP;

/**
* Set datetime range for the map canvas.
* Set datetime \a range for the map canvas.
*
* Emits temporalRangeChanged(), after a successful update.
* The temporalRangeChanged() signal will be emitted if the temporal range has been changed.
*
* \note Calling setTemporalRange() does not automatically trigger a map refresh.
*
* \see temporalRange()
* \since QGIS 3.14
*/
void setTemporalRange( const QgsDateTimeRange &dateTimeRange );
void setTemporalRange( const QgsDateTimeRange &range );

/**
* Returns map canvas datetime range.

0 comments on commit 266d920

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