QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Types | Signals | Public Member Functions | List of all members
QgsTemporalProperty Class Reference

Base class for temporal property. More...

#include <qgstemporalproperty.h>

Inheritance diagram for QgsTemporalProperty:
Inheritance graph
[legend]

Public Types

enum  Flag { FlagDontInvalidateCachedRendersWhenRangeChanges = 1 }
 Flags attached to the temporal property. More...
 
typedef QFlags< FlagFlags
 

Signals

void changed ()
 Emitted when the temporal properties have changed.
 

Public Member Functions

 QgsTemporalProperty (QObject *parent=nullptr, bool enabled=false)
 Constructor for QgsTemporalProperty, with the specified parent object.
 
virtual QgsTemporalProperty::Flags flags () const
 Returns flags associated to the temporal property.
 
bool isActive () const
 Returns true if the temporal property is active.
 
void setIsActive (bool active)
 Sets whether the temporal property is active.
 

Detailed Description

Base class for temporal property.

Since
QGIS 3.14

Definition at line 35 of file qgstemporalproperty.h.

Member Typedef Documentation

◆ Flags

typedef QFlags< Flag > QgsTemporalProperty::Flags

Definition at line 48 of file qgstemporalproperty.h.

Member Enumeration Documentation

◆ Flag

Flags attached to the temporal property.

Enumerator
FlagDontInvalidateCachedRendersWhenRangeChanges 

Any cached rendering will not be invalidated when temporal range context is modified.

Definition at line 44 of file qgstemporalproperty.h.

Constructor & Destructor Documentation

◆ QgsTemporalProperty()

QgsTemporalProperty::QgsTemporalProperty ( QObject *  parent = nullptr,
bool  enabled = false 
)

Constructor for QgsTemporalProperty, with the specified parent object.

The active argument specifies whether the property is initially active (see isActive()).

Definition at line 22 of file qgstemporalproperty.cpp.

Member Function Documentation

◆ changed

void QgsTemporalProperty::changed ( )
signal

Emitted when the temporal properties have changed.

◆ flags()

virtual QgsTemporalProperty::Flags QgsTemporalProperty::flags ( ) const
inlinevirtual

Returns flags associated to the temporal property.

Reimplemented in QgsRasterLayerTemporalProperties, and QgsVectorLayerTemporalProperties.

Definition at line 74 of file qgstemporalproperty.h.

◆ isActive()

bool QgsTemporalProperty::isActive ( ) const

Returns true if the temporal property is active.

See also
setIsActive()

Definition at line 37 of file qgstemporalproperty.cpp.

◆ setIsActive()

void QgsTemporalProperty::setIsActive ( bool  active)

Sets whether the temporal property is active.

See also
isActive()

Definition at line 28 of file qgstemporalproperty.cpp.


The documentation for this class was generated from the following files: