QGIS/python/core/auto_generated/qgstemporalproperty.sip.in

77 lines
2.1 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgstemporalproperty.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2020-03-08 20:38:01 +01:00
class QgsTemporalProperty : QObject
{
2021-03-22 21:13:52 +01:00
%Docstring(signature="appended")
Base class for temporal property.
.. versionadded:: 3.14
%End
%TypeHeaderCode
#include "qgstemporalproperty.h"
%End
public:
2020-05-09 11:17:05 +07:00
enum Flag
{
FlagDontInvalidateCachedRendersWhenRangeChanges
};
typedef QFlags<QgsTemporalProperty::Flag> Flags;
2020-03-12 08:45:56 +10:00
QgsTemporalProperty( QObject *parent /TransferThis/ = 0, bool enabled = false );
%Docstring
2020-03-12 08:45:56 +10:00
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
2020-05-09 14:58:29 +07:00
virtual QgsTemporalProperty::Flags flags() const;
%Docstring
Returns flags associated to the temporal property.
2020-03-08 20:38:01 +01:00
%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.pl again *
************************************************************************/