1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
/************************************************************************
* 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 /BaseType=IntEnum/
{
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 *
************************************************************************/
|