2020-02-07 09:34:47 +03:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmaplayertemporalproperties.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMapLayerTemporalProperties : QgsTemporalProperty
|
|
|
|
{
|
|
|
|
%Docstring
|
2020-02-24 20:18:09 +01:00
|
|
|
An abstract base class for handling map layer temporal properties.
|
2020-02-07 09:34:47 +03:00
|
|
|
|
|
|
|
.. versionadded:: 3.14
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmaplayertemporalproperties.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsMapLayerTemporalProperties( bool enabled = false );
|
|
|
|
%Docstring
|
|
|
|
Constructor for QgsMapLayerTemporalProperties.
|
2020-02-24 20:18:09 +01:00
|
|
|
|
|
|
|
The ``enabled`` argument specifies whether the temporal properties are initially enabled or not (see isActive()).
|
2020-02-07 09:34:47 +03:00
|
|
|
%End
|
|
|
|
|
|
|
|
virtual ~QgsMapLayerTemporalProperties();
|
|
|
|
|
|
|
|
virtual QDomElement writeXml( QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context ) = 0;
|
|
|
|
%Docstring
|
2020-02-24 20:18:09 +01:00
|
|
|
Writes the properties to a DOM ``element``, to be used later with readXml().
|
2020-02-07 09:34:47 +03:00
|
|
|
|
|
|
|
.. seealso:: :py:func:`readXml`
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual bool readXml( const QDomElement &element, const QgsReadWriteContext &context ) = 0;
|
|
|
|
%Docstring
|
2020-02-24 20:18:09 +01:00
|
|
|
Reads temporal properties from a DOM ``element`` previously written by writeXml().
|
2020-02-07 09:34:47 +03:00
|
|
|
|
|
|
|
.. seealso:: :py:func:`writeXml`
|
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmaplayertemporalproperties.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|