QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsColorRampShader::ColorRampItem Struct Reference

#include <qgscolorrampshader.h>

Public Member Functions

 ColorRampItem ()=default
 default constructor
 
 ColorRampItem (double val, const QColor &col, const QString &lbl=QString())
 convenience constructor
 
bool operator!= (const QgsColorRampShader::ColorRampItem &other) const
 
bool operator< (const QgsColorRampShader::ColorRampItem &other) const
 

Public Attributes

QColor color
 
QString label
 
double value = 0
 

Detailed Description

Definition at line 104 of file qgscolorrampshader.h.

Constructor & Destructor Documentation

◆ ColorRampItem() [1/2]

QgsColorRampShader::ColorRampItem::ColorRampItem ( )
default

default constructor

◆ ColorRampItem() [2/2]

QgsColorRampShader::ColorRampItem::ColorRampItem ( double  val,
const QColor &  col,
const QString &  lbl = QString() 
)
inline

convenience constructor

Definition at line 109 of file qgscolorrampshader.h.

Member Function Documentation

◆ operator!=()

bool QgsColorRampShader::ColorRampItem::operator!= ( const QgsColorRampShader::ColorRampItem other) const
inline

Definition at line 122 of file qgscolorrampshader.h.

◆ operator<()

bool QgsColorRampShader::ColorRampItem::operator< ( const QgsColorRampShader::ColorRampItem other) const
inline

Definition at line 120 of file qgscolorrampshader.h.

Member Data Documentation

◆ color

QColor QgsColorRampShader::ColorRampItem::color

Definition at line 117 of file qgscolorrampshader.h.

◆ label

QString QgsColorRampShader::ColorRampItem::label

Definition at line 115 of file qgscolorrampshader.h.

◆ value

double QgsColorRampShader::ColorRampItem::value = 0

Definition at line 116 of file qgscolorrampshader.h.


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