QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | Public Attributes | List of all members
QgsPalettedRasterRenderer::MultiValueClass Class Reference

Properties of a multi value class: a class that contains multiple values. More...

#include <qgspalettedrasterrenderer.h>

Public Member Functions

 MultiValueClass (const QVector< QVariant > &values, const QColor &color=QColor(), const QString &label=QString())
 Constructor for MultiValueClass from a list of values. More...
 

Public Attributes

QColor color
 Color to render values. More...
 
QString label
 Label for values. More...
 
QVector< QVariant > values
 Values. More...
 

Detailed Description

Properties of a multi value class: a class that contains multiple values.

Since
QGIS 3.30

Definition at line 64 of file qgspalettedrasterrenderer.h.

Constructor & Destructor Documentation

◆ MultiValueClass()

QgsPalettedRasterRenderer::MultiValueClass::MultiValueClass ( const QVector< QVariant > &  values,
const QColor &  color = QColor(),
const QString &  label = QString() 
)

Constructor for MultiValueClass from a list of values.

Definition at line 838 of file qgspalettedrasterrenderer.cpp.

Member Data Documentation

◆ color

QColor QgsPalettedRasterRenderer::MultiValueClass::color

Color to render values.

Definition at line 76 of file qgspalettedrasterrenderer.h.

◆ label

QString QgsPalettedRasterRenderer::MultiValueClass::label

Label for values.

Definition at line 79 of file qgspalettedrasterrenderer.h.

◆ values

QVector< QVariant > QgsPalettedRasterRenderer::MultiValueClass::values

Values.

Definition at line 73 of file qgspalettedrasterrenderer.h.


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