QGIS API Documentation 3.31.0-Master (d2b117a3c8)
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 40 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 43 of file qgsvaluerelationfieldformatter.h.

◆ ValueRelationItem() [2/2]

QgsValueRelationFieldFormatter::ValueRelationItem::ValueRelationItem ( )

Constructor for ValueRelationItem.

Member Data Documentation

◆ description

QString QgsValueRelationFieldFormatter::ValueRelationItem::description

Definition at line 54 of file qgsvaluerelationfieldformatter.h.

◆ key

QVariant QgsValueRelationFieldFormatter::ValueRelationItem::key

Definition at line 52 of file qgsvaluerelationfieldformatter.h.

◆ value

QString QgsValueRelationFieldFormatter::ValueRelationItem::value

Definition at line 53 of file qgsvaluerelationfieldformatter.h.

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