QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Public Attributes | List of all members
QgsValueRelationFieldFormatter::ValueRelationItem Struct Reference

#include <qgsvaluerelationfieldformatter.h>

Public Member Functions

 ValueRelationItem ()=default
 Constructor for ValueRelationItem. More...
 
 ValueRelationItem (const QVariant &key, const QString &value, const QString &description=QString())
 Constructor for ValueRelationItem. More...
 

Public Attributes

QString description
 
QVariant key
 
QString value
 

Detailed Description

Definition at line 53 of file qgsvaluerelationfieldformatter.h.

Constructor & Destructor Documentation

◆ ValueRelationItem() [1/2]

QgsValueRelationFieldFormatter::ValueRelationItem::ValueRelationItem ( const QVariant &  key,
const QString &  value,
const QString &  description = QString() 
)
inline

Constructor for ValueRelationItem.

Definition at line 70 of file qgsvaluerelationfieldformatter.h.

◆ ValueRelationItem() [2/2]

QgsValueRelationFieldFormatter::ValueRelationItem::ValueRelationItem ( )
default

Constructor for ValueRelationItem.

Member Data Documentation

◆ description

QString QgsValueRelationFieldFormatter::ValueRelationItem::description

Definition at line 81 of file qgsvaluerelationfieldformatter.h.

◆ key

QVariant QgsValueRelationFieldFormatter::ValueRelationItem::key

Definition at line 79 of file qgsvaluerelationfieldformatter.h.

◆ value

QString QgsValueRelationFieldFormatter::ValueRelationItem::value

Definition at line 80 of file qgsvaluerelationfieldformatter.h.


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