QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsValueRelationFieldFormatter::ValueRelationItem Struct Reference

#include <qgsvaluerelationfieldformatter.h>

Public Member Functions

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

Public Attributes

QString description
 
QVariant group
 Value used to regroup items during sorting (since QGIS 3.38)
 
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(),
const QVariant  group = QVariant() 
)
inline

Constructor for ValueRelationItem.

Definition at line 42 of file qgsvaluerelationfieldformatter.h.

◆ ValueRelationItem() [2/2]

QgsValueRelationFieldFormatter::ValueRelationItem::ValueRelationItem ( )
default

Member Data Documentation

◆ description

QString QgsValueRelationFieldFormatter::ValueRelationItem::description

Definition at line 53 of file qgsvaluerelationfieldformatter.h.

◆ group

QVariant QgsValueRelationFieldFormatter::ValueRelationItem::group

Value used to regroup items during sorting (since QGIS 3.38)

Definition at line 55 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: