Class: QgsFieldFormatterContext

class qgis.core.QgsFieldFormatterContext

Bases: sip.wrapper

A context for field formatter containing information like the project

New in version 3.12.

QgsFieldFormatterContext() Constructor

QgsFieldFormatterContext(QgsFieldFormatterContext)

Methods

project

Returns the project used in field formatter

setProject

Sets the project used in field formatter

project(self)QgsProject

Returns the project used in field formatter

See also

setProject()

Return type

QgsProject

setProject(self, project: QgsProject)

Sets the project used in field formatter

See also

project()

Parameters

project (QgsProject) –