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.
Added in version 3.16.1.
QgsIdentifyContext() Constructor for QgsIdentifyContext
QgsIdentifyContext(a0:
QgsIdentifyContext
)Methods
Returns
True
if the temporal range setting is enabled.Set datetime
range
to be used with the identify action.Sets the
range
of z-values to identify within.Returns the datetime range to be used with the identify action.
Returns the range of z-values to identify within, or an infinite range if no filtering by z should be applied.
- 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
See also
- Parameters:
range (QgsDateTimeRange)
- setZRange(self, range: QgsDoubleRange)¶
Sets the
range
of z-values to identify within.Set to an infinite range if no filtering by z should be applied.
See also
Added in version 3.38.
- Parameters:
range (QgsDoubleRange)
- temporalRange(self) QgsDateTimeRange ¶
Returns the datetime range to be used with the identify action.
See also
See also
- Return type:
- zRange(self) QgsDoubleRange ¶
Returns the range of z-values to identify within, or an infinite range if no filtering by z should be applied.
See also
Added in version 3.38.
- Return type: