Class: QgsFieldFormatterContext¶
A context for field formatter containing information like the project
Added in version 3.12.
Methods
Returns the project used in field formatter  | 
|
Sets the project used in field formatter  | 
- class qgis.core.QgsFieldFormatterContext[source]¶
 Bases:
object- project(self) QgsProject | None[source]¶
 Returns the project used in field formatter
See also
- Return type:
 Optional[QgsProject]
- setProject(self, project: QgsProject | None)[source]¶
 Sets the
projectused in field formatterSee also
- Parameters:
 project (Optional[QgsProject])