Class: QgsIdentifyContext

class qgis.core.QgsIdentifyContext

Bases: sip.wrapper

Identify contexts are used to encapsulate the settings to be used to perform an identify action.

New in version 3.16.1.

QgsIdentifyContext() Constructor for QgsIdentifyContext

QgsIdentifyContext(QgsIdentifyContext)

Methods

isTemporal

Returns True if the temporal range setting is enabled.

setTemporalRange

Set datetime range to be used with the identify action.

temporalRange

Returns the datetime range to be used with the identify action.

isTemporal(self) bool

Returns True if the temporal range setting is enabled.

Return type

bool

setTemporalRange(self, range: QgsDateTimeRange)

Set datetime range to be used with the identify action.

See also

temporalRange()

See also

isTemporal()

Parameters

range (QgsDateTimeRange) –

temporalRange(self) QgsDateTimeRange

Returns the datetime range to be used with the identify action.

See also

isTemporal()

Return type

QgsDateTimeRange