QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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 39 of file qgsvaluerelationfieldformatter.h.

Constructor & Destructor Documentation

◆ ValueRelationItem() [1/2]

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

Constructor for ValueRelationItem.

Definition at line 42 of file qgsvaluerelationfieldformatter.h.

◆ ValueRelationItem() [2/2]

QgsValueRelationFieldFormatter::ValueRelationItem::ValueRelationItem ( )

Constructor for ValueRelationItem.

Member Data Documentation

◆ description

QString QgsValueRelationFieldFormatter::ValueRelationItem::description

Definition at line 53 of file qgsvaluerelationfieldformatter.h.

◆ key

QVariant QgsValueRelationFieldFormatter::ValueRelationItem::key

Definition at line 51 of file qgsvaluerelationfieldformatter.h.

◆ value

QString QgsValueRelationFieldFormatter::ValueRelationItem::value

Definition at line 52 of file qgsvaluerelationfieldformatter.h.

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