Class: QgsIdentifyContext

class qgis.core.QgsIdentifyContext

Bases: sip.wrapper

Constructor for QgsIdentifyContext

QgsIdentifyContext(QgsIdentifyContext)

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

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