QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Static Public Member Functions | List of all members
QgsVariantUtils Class Reference

Contains utility functions for working with QVariants and QVariant types. More...

#include <qgsvariantutils.h>

Static Public Member Functions

static QString typeToDisplayString (QVariant::Type type, QVariant::Type subType=QVariant::Type::Invalid)
 Returns a user-friendly translated string representing a QVariant type. More...
 

Detailed Description

Contains utility functions for working with QVariants and QVariant types.

Since
QGIS 3.24

Definition at line 31 of file qgsvariantutils.h.

Member Function Documentation

◆ typeToDisplayString()

QString QgsVariantUtils::typeToDisplayString ( QVariant::Type  type,
QVariant::Type  subType = QVariant::Type::Invalid 
)
static

Returns a user-friendly translated string representing a QVariant type.

The optional subType can be used to specify the type of variant list or map values.

Definition at line 19 of file qgsvariantutils.cpp.


The documentation for this class was generated from the following files: