QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsFieldFormatterContext Class Reference

A context for field formatter containing information like the project. More...

#include <qgsfieldformatter.h>

Public Member Functions

 QgsFieldFormatterContext ()=default
 Constructor.
 
QgsProjectproject () const
 Returns the project used in field formatter.
 
void setProject (QgsProject *project)
 Sets the project used in field formatter.
 

Detailed Description

A context for field formatter containing information like the project.

Since
QGIS 3.12

Definition at line 33 of file qgsfieldformatter.h.

Constructor & Destructor Documentation

◆ QgsFieldFormatterContext()

QgsFieldFormatterContext::QgsFieldFormatterContext ( )
default

Constructor.

Member Function Documentation

◆ project()

QgsProject * QgsFieldFormatterContext::project ( ) const
inline

Returns the project used in field formatter.

See also
setProject()

Definition at line 46 of file qgsfieldformatter.h.

◆ setProject()

void QgsFieldFormatterContext::setProject ( QgsProject project)
inline

Sets the project used in field formatter.

See also
project()

Definition at line 52 of file qgsfieldformatter.h.


The documentation for this class was generated from the following file: