QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsFieldFormatterContext Class Reference

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

#include <qgsfieldformatter.h>

Public Member Functions

 QgsFieldFormatterContext ()=default
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

Member Function Documentation

◆ project()

QgsProject * QgsFieldFormatterContext::project ( ) const
inline

Returns the project used in field formatter.

See also
setProject()

Definition at line 43 of file qgsfieldformatter.h.

◆ setProject()

void QgsFieldFormatterContext::setProject ( QgsProject * project)
inline

Sets the project used in field formatter.

See also
project()

Definition at line 49 of file qgsfieldformatter.h.


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