Class: QgsFieldFormatterContext

class qgis.core.QgsFieldFormatterContext

Bases: sip.wrapper

Constructor

QgsFieldFormatterContext(QgsFieldFormatterContext)

A context for field formatter containing information like the project

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) –