Skip to content
Permalink
Browse files

fixed travis tests

  • Loading branch information
Samweli authored and nyalldawson committed Feb 17, 2020
1 parent 872094c commit b30ccf32893cea0e63efdc1e8c0f9c57a2066a41
@@ -36,7 +36,6 @@ Constructor for a label blocking region


class QgsMapSettings : QgsTemporalRangeObject

{
%Docstring
The QgsMapSettings class contains configuration for rendering of the map.
@@ -82,19 +82,6 @@ Returns the fixed temporal range for the layer.
.. seealso:: :py:func:`setFixedTemporalRange`
%End

void setWmstRelatedSettings( const QString &dimension );
%Docstring
Sets the raster layer properties with WMS-T temporal settings.

:param dimension: contains text content indicating WMS layer available time value(s).

.. warning::

This is to be used to support WMS-T layers only. Applicable when
TemporalMode is QgsRasterLayerTemporalProperties.ModeFixedTemporalRange or
QgsRasterLayerTemporalProperties.ModeTemporalRangesList
%End

virtual QDomElement writeXml( QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context );


@@ -1048,6 +1048,8 @@ start of the pan and the current pan position.
Emitted whenever a tap and hold ``gesture`` occurs at the specified map point.

.. versionadded:: 3.12
%End

void temporalRangeChanged();
%Docstring
Emitted when the map canvas temporal range changes.
@@ -0,0 +1,50 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstemporallayerwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/







class QgsTemporalLayerWidget : QWidget
{
%Docstring
A widget for filtering temporal layer based on its available time values

.. versionadded:: 3.14
%End

%TypeHeaderCode
#include "qgstemporallayerwidget.h"
%End
public:

QgsTemporalLayerWidget( QWidget *parent = 0, QgsMapLayer *layer = 0 );
%Docstring
Constructor for QgsTemporalLayerWidget.
%End

void setMapCanvas( QgsMapCanvas *canvas );
%Docstring
Sets the map canvas associtated with this temporal widget.
%End

void saveTemporalProperties();
%Docstring
Save widget temporal properties inputs.
%End

};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgstemporallayerwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -193,6 +193,7 @@
%Include auto_generated/qgstablewidgetitem.sip
%Include auto_generated/qgstabwidget.sip
%Include auto_generated/qgstaskmanagerwidget.sip
%Include auto_generated/qgstemporallayerwidget.sip
%Include auto_generated/qgstextformatwidget.sip
%Include auto_generated/qgstextpreview.sip
%Include auto_generated/qgstreewidgetitem.sip
@@ -408,7 +408,6 @@ SET(QGIS_CORE_SRCS
qgsvectorlayerjoinbuffer.cpp
qgsvectorlayerjoininfo.cpp
qgsvectorlayerrenderer.cpp
qgsvectorlayertemporalproperties.cpp
qgsvectorlayertools.cpp
qgsvectorlayerundocommand.cpp
qgsvectorlayerundopassthroughcommand.cpp
@@ -930,7 +929,6 @@ SET(QGIS_CORE_HDRS
qgsvectorlayerjoininfo.h
qgsvectorlayerrenderer.h
qgsvectorlayerserverproperties.h
qgsvectorlayertemporalproperties.h
qgsvectorlayertools.h
qgsvectorlayerundocommand.h
qgsvectorlayerundopassthroughcommand.h

This file was deleted.

This file was deleted.

@@ -151,7 +151,7 @@ class CORE_EXPORT QgsRasterDataProviderTemporalProperties : public QgsDataProvid
/**
* Represents fixed data provider datetime range.
*
* This is for determing the providers lower and upper datetime bounds,
* This is for determining the providers lower and upper datetime bounds,
* any updates on the mRange should get out the range bound defined
* by this member.
*
@@ -185,7 +185,6 @@ class CORE_EXPORT QgsRasterDataProviderTemporalProperties : public QgsDataProvid
//! If reference range has been enabled to be used in these properties
bool mReferenceEnable = false;


};

#endif // QGSRASTERDATAPROVIDERTEMPORALPROPERTIES_H
@@ -47,33 +47,6 @@ const QgsDateTimeRange &QgsRasterLayerTemporalProperties::fixedTemporalRange() c
return mRange;
}

//void QgsRasterLayerTemporalProperties::setProviderTemporalRange( const QgsDateTimeRange &range )
//{
// if ( range == mRange )
// return;

// QgsWmsProvider *wmsProvider = qobject_cast<QgsWmsProvider*> (mDataProvider);

// if ( wmsProvider)
// wmsProvider->setTemporalRange( range );

// mRange = range;

//}

//void QgsRasterLayerTemporalProperties::setDataProvider( QgsRasterDataProvider *provider)
//{
// mDataProvider = provider;
//}

void QgsRasterLayerTemporalProperties::setWmstRelatedSettings( const QString &dimension )
{
Q_UNUSED( dimension )

// TODO add WMS-T handling here,
// For WMS-T instant time values, WMS-T List times and for WMS-T intervals time values.
}

bool QgsRasterLayerTemporalProperties::readXml( const QDomElement &element, const QgsReadWriteContext &context )
{
Q_UNUSED( context )

0 comments on commit b30ccf3

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