2020-02-07 09:34:47 +03:00
|
|
|
/************************************************************************
|
|
|
|
* 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
|
2020-02-07 09:34:47 +03:00
|
|
|
{
|
2021-03-22 21:13:52 +01:00
|
|
|
%Docstring(signature="appended")
|
2020-02-07 09:34:47 +03:00
|
|
|
Base class for temporal property.
|
|
|
|
|
|
|
|
.. versionadded:: 3.14
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgstemporalproperty.h"
|
|
|
|
%End
|
|
|
|
public:
|
2020-05-09 11:17:05 +07:00
|
|
|
|
2020-05-08 16:53:04 +07:00
|
|
|
enum Flag
|
|
|
|
{
|
|
|
|
FlagDontInvalidateCachedRendersWhenRangeChanges
|
|
|
|
};
|
|
|
|
typedef QFlags<QgsTemporalProperty::Flag> Flags;
|
|
|
|
|
2020-02-07 09:34:47 +03:00
|
|
|
|
2020-03-12 08:45:56 +10:00
|
|
|
QgsTemporalProperty( QObject *parent /TransferThis/ = 0, bool enabled = false );
|
2020-02-07 09:34:47 +03:00
|
|
|
%Docstring
|
2020-03-12 08:45:56 +10:00
|
|
|
Constructor for QgsTemporalProperty, with the specified ``parent`` object.
|
2020-02-24 15:31:01 +10:00
|
|
|
|
2020-06-15 09:04:13 +10:00
|
|
|
The ``active`` argument specifies whether the property is initially active (see :py:func:`~QgsTemporalProperty.isActive`).
|
2020-02-07 09:34:47 +03:00
|
|
|
%End
|
|
|
|
|
2020-02-24 15:31:01 +10:00
|
|
|
void setIsActive( bool active );
|
2020-02-07 09:34:47 +03:00
|
|
|
%Docstring
|
2020-02-24 15:31:01 +10:00
|
|
|
Sets whether the temporal property is ``active``.
|
2020-02-07 09:34:47 +03:00
|
|
|
|
|
|
|
.. seealso:: :py:func:`isActive`
|
|
|
|
%End
|
|
|
|
|
|
|
|
bool isActive() const;
|
|
|
|
%Docstring
|
2020-02-24 15:31:01 +10:00
|
|
|
Returns ``True`` if the temporal property is active.
|
2020-02-07 09:34:47 +03:00
|
|
|
|
|
|
|
.. seealso:: :py:func:`setIsActive`
|
2020-05-08 16:53:04 +07:00
|
|
|
%End
|
|
|
|
|
2020-05-09 14:58:29 +07:00
|
|
|
virtual QgsTemporalProperty::Flags flags() const;
|
2020-05-08 16:53:04 +07:00
|
|
|
%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.
|
2020-02-07 09:34:47 +03:00
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgstemporalproperty.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|