QGIS API Documentation  2.12.0-Lyon
Public Member Functions | Public Attributes | List of all members
QgsColorRampShader::ColorRampItem Struct Reference

#include <qgscolorrampshader.h>

Public Member Functions

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

Public Attributes

QColor color
QString label
double value

Detailed Description

Definition at line 42 of file qgscolorrampshader.h.

Constructor & Destructor Documentation

QgsColorRampShader::ColorRampItem::ColorRampItem ( )

default constructor

Definition at line 45 of file qgscolorrampshader.h.

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

convenience constructor

Definition at line 47 of file qgscolorrampshader.h.

Member Function Documentation

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

Definition at line 54 of file qgscolorrampshader.h.

Member Data Documentation

QColor QgsColorRampShader::ColorRampItem::color

Definition at line 51 of file qgscolorrampshader.h.

QString QgsColorRampShader::ColorRampItem::label

Definition at line 49 of file qgscolorrampshader.h.

double QgsColorRampShader::ColorRampItem::value

Definition at line 50 of file qgscolorrampshader.h.

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