QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Identify contexts are used to encapsulate the settings to be used to perform an identify action. More...
#include <qgsidentifycontext.h>
Public Member Functions | |
QgsIdentifyContext ()=default | |
Constructor for QgsIdentifyContext. More... | |
bool | isTemporal () const |
Returns true if the temporal range setting is enabled. More... | |
void | setTemporalRange (const QgsDateTimeRange &range) |
Set datetime range to be used with the identify action. More... | |
const QgsDateTimeRange & | temporalRange () const |
Returns the datetime range to be used with the identify action. More... | |
Identify contexts are used to encapsulate the settings to be used to perform an identify action.
Definition at line 31 of file qgsidentifycontext.h.
|
default |
Constructor for QgsIdentifyContext.
bool QgsIdentifyContext::isTemporal | ( | ) | const |
Returns true
if the temporal range setting is enabled.
Definition at line 29 of file qgsidentifycontext.cpp.
void QgsIdentifyContext::setTemporalRange | ( | const QgsDateTimeRange & | range | ) |
Set datetime range to be used with the identify action.
Definition at line 19 of file qgsidentifycontext.cpp.
const QgsDateTimeRange & QgsIdentifyContext::temporalRange | ( | ) | const |
Returns the datetime range to be used with the identify action.
Definition at line 24 of file qgsidentifycontext.cpp.