|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
Context for relations. More...
#include <qgsrelationcontext.h>
Public Member Functions | |
| QgsRelationContext (QgsProject *project=nullptr) | |
| Constructor for QgsRelationContext. | |
| ~QgsRelationContext () | |
| const QgsProject * | project () const |
| Gets the associated project. | |
Context for relations.
Used to resolve layers from projects.
Definition at line 33 of file qgsrelationcontext.h.
| QgsRelationContext::QgsRelationContext | ( | QgsProject * | project = nullptr | ) |
Constructor for QgsRelationContext.
Definition at line 19 of file qgsrelationcontext.cpp.
|
default |
| const QgsProject * QgsRelationContext::project | ( | ) | const |
Gets the associated project.
If there is no associated project, then it will return the global project instance
Definition at line 27 of file qgsrelationcontext.cpp.