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