Class: QgsIdentifyContext¶
Identify contexts are used to encapsulate the settings to be used to perform an identify action.
Added in version 3.16.1.
Methods
Returns   | 
|
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.  | 
- class qgis.core.QgsIdentifyContext[source]¶
 Bases:
object- isTemporal(self) bool[source]¶
 Returns
Trueif the temporal range setting is enabled.- Return type:
 bool
- setTemporalRange(self, range: QgsDateTimeRange)[source]¶
 Set datetime
rangeto be used with the identify action.See also
See also
- Parameters:
 range (QgsDateTimeRange)
- setZRange(self, range: QgsDoubleRange)[source]¶
 Sets the
rangeof 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[source]¶
 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: