Skip to content

Commit d9926a9

Browse files
committedFeb 8, 2020
fix travis tests
1 parent c4355ab commit d9926a9

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed
 

‎python/core/auto_generated/raster/qgsrasterlayertemporalproperties.sip.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ Constructor for QgsRasterLayerTemporalProperties.
4040

4141
TemporalMode mode() const;
4242
%Docstring
43-
Return the temporal properties mode
43+
Returns the temporal properties mode
4444

4545
.. seealso:: :py:func:`setMode`
4646
%End
4747

4848
void setMode( TemporalMode mode );
4949
%Docstring
50-
Set the temporal properties mode
50+
Sets the temporal properties mode
5151

5252
.. seealso:: :py:func:`mode`
5353
%End
@@ -71,7 +71,7 @@ of the render context will be fetched.
7171

7272
const QgsDateTimeRange &fixedTemporalRange() const;
7373
%Docstring
74-
Return fixed temporal range for these properties
74+
Returns the fixed temporal range for these properties
7575

7676
.. warning::
7777

@@ -83,7 +83,7 @@ Return fixed temporal range for these properties
8383

8484
void setWmstRelatedSettings( const QString &dimension );
8585
%Docstring
86-
Set this raster layer properties with WMS-T temporal settings.
86+
Sets the raster layer properties with WMS-T temporal settings.
8787

8888
.. warning::
8989

‎python/gui/auto_generated/qgsmapcanvas.sip.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,7 @@ start of the pan and the current pan position.
10481048
Emitted whenever a tap and hold ``gesture`` occurs at the specified map point.
10491049

10501050
.. versionadded:: 3.12
1051+
%End
10511052

10521053
void temporalRangeChanged();
10531054
%Docstring

‎src/core/raster/qgsrasterlayertemporalproperties.h

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,26 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
4343

4444
virtual ~QgsRasterLayerTemporalProperties() = default;
4545

46+
/**
47+
* Mode of the raster temporal properties
48+
*
49+
**/
4650
enum TemporalMode
4751
{
48-
ModeFixedTemporalRange,
49-
ModeTemporalRangeFromDataProvider,
50-
ModeTemporalRangesList
52+
ModeFixedTemporalRange, //! Mode when temporal properties have fixed start and end datetimes.
53+
ModeTemporalRangeFromDataProvider, //! Mode when raster layer depends on temporal range from its dataprovider.
54+
ModeTemporalRangesList //! To be used when raster layer has list of temporal ranges.
5155
};
5256

5357
/**
54-
* Return the temporal properties mode
58+
* Returns the temporal properties mode
5559
*
5660
*\see setMode()
5761
**/
5862
TemporalMode mode() const;
5963

6064
/**
61-
* Set the temporal properties mode
65+
* Sets the temporal properties mode
6266
*
6367
*\see mode()
6468
**/
@@ -80,7 +84,7 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
8084
void setFixedTemporalRange( const QgsDateTimeRange &range );
8185

8286
/**
83-
* Return fixed temporal range for these properties
87+
* Returns the fixed temporal range for these properties
8488
*
8589
* \warning To be used only when mode() is
8690
* QgsRasterLayerTemporalProperties::ModeFixedTemporalRange
@@ -90,7 +94,7 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
9094
const QgsDateTimeRange &fixedTemporalRange() const;
9195

9296
/**
93-
* Set this raster layer properties with WMS-T temporal settings.
97+
* Sets the raster layer properties with WMS-T temporal settings.
9498
*
9599
* \warning This is to be used to support WMS-T layers only. Applicable when
96100
* TemporalMode is QgsRasterLayerTemporalProperties::ModeFixedTemporalRange or
@@ -112,11 +116,9 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
112116
QgsDateTimeRange mRange;
113117

114118
/**
115-
* Returns Temporal mode given index
116-
*
119+
* Returns the temporal mode given index
117120
*
118-
*
119-
*/
121+
**/
120122
TemporalMode indexToMode( int index );
121123
};
122124

‎src/gui/qgsmapcanvas.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,8 @@ class GUI_EXPORT QgsMapCanvas : public QGraphicsView
941941
*/
942942
void tapAndHoldGestureOccurred( const QgsPointXY &mapPoint, QTapAndHoldGesture *gesture );
943943

944-
/** Emitted when the map canvas temporal range changes.
944+
/**
945+
* Emitted when the map canvas temporal range changes.
945946
*
946947
* \since QGIS 3.14
947948
*/

0 commit comments

Comments
 (0)
Please sign in to comment.