QGIS/python/core/auto_generated/qgstemporalproperty.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

79 lines
2.1 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgstemporalproperty.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsTemporalProperty : QObject
{
%Docstring(signature="appended")
Base class for temporal property.
.. versionadded:: 3.14
%End
%TypeHeaderCode
#include "qgstemporalproperty.h"
%End
public:
enum Flag
{
FlagDontInvalidateCachedRendersWhenRangeChanges
};
typedef QFlags<QgsTemporalProperty::Flag> Flags;
QgsTemporalProperty( QObject *parent /TransferThis/ = 0, bool enabled = false );
%Docstring
Constructor for QgsTemporalProperty, with the specified ``parent``
object.
The ``active`` argument specifies whether the property is initially
active (see :py:func:`~QgsTemporalProperty.isActive`).
%End
void setIsActive( bool active );
%Docstring
Sets whether the temporal property is ``active``.
.. seealso:: :py:func:`isActive`
%End
bool isActive() const;
%Docstring
Returns ``True`` if the temporal property is active.
.. seealso:: :py:func:`setIsActive`
%End
virtual QgsTemporalProperty::Flags flags() const;
%Docstring
Returns flags associated to the temporal property.
%End
signals:
void changed();
%Docstring
Emitted when the temporal properties have changed.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgstemporalproperty.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/