QGIS API Documentation  3.2.0-Bonn (bc43194)
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 39 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 42 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 50 of file qgsvaluerelationfieldformatter.h.

◆ value

QString QgsValueRelationFieldFormatter::ValueRelationItem::value

Definition at line 51 of file qgsvaluerelationfieldformatter.h.


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