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
Returns
True
if the temporal range setting is enabled.Set datetime
range
to be used with the identify action.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
See also
- Parameters
range (QgsDateTimeRange) –
- temporalRange(self) QgsDateTimeRange ¶
Returns the datetime range to be used with the identify action.
See also
See also
- Return type