QGIS API Documentation 3.41.0-Master (25ec5511245)
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
 
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: