QGIS API Documentation  3.0.2-Girona (307d082)
Public Member Functions | Public Attributes | List of all members
QgsValueRelationFieldFormatter::ValueRelationItem Struct Reference

#include <qgsvaluerelationfieldformatter.h>

Public Member Functions

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

Public Attributes

QVariant key
 
QString value
 

Detailed Description

Definition at line 36 of file qgsvaluerelationfieldformatter.h.

Constructor & Destructor Documentation

◆ ValueRelationItem() [1/2]

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

Constructor for ValueRelationItem.

Definition at line 39 of file qgsvaluerelationfieldformatter.h.

◆ ValueRelationItem() [2/2]

QgsValueRelationFieldFormatter::ValueRelationItem::ValueRelationItem ( )
default

Constructor for ValueRelationItem.

Member Data Documentation

◆ key

QVariant QgsValueRelationFieldFormatter::ValueRelationItem::key

Definition at line 47 of file qgsvaluerelationfieldformatter.h.

◆ value

QString QgsValueRelationFieldFormatter::ValueRelationItem::value

Definition at line 48 of file qgsvaluerelationfieldformatter.h.


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