QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
QgsColorRampShader::ColorRampItem Struct Reference

#include <qgscolorrampshader.h>

Public Member Functions

 ColorRampItem ()
 default constructor
 ColorRampItem (double val, QColor col, QString lbl=QString())
 convenience constructor - added in v1.6
bool operator< (const ColorRampItem &other) const

Public Attributes

QString label
double value
QColor color

Detailed Description

Definition at line 42 of file qgscolorrampshader.h.

Constructor & Destructor Documentation

QgsColorRampShader::ColorRampItem::ColorRampItem ( )
inline

default constructor

Definition at line 45 of file qgscolorrampshader.h.

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

convenience constructor - added in v1.6

Definition at line 47 of file qgscolorrampshader.h.

Member Function Documentation

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

Definition at line 54 of file qgscolorrampshader.h.

References value.

Member Data Documentation

QColor QgsColorRampShader::ColorRampItem::color
QString QgsColorRampShader::ColorRampItem::label
double QgsColorRampShader::ColorRampItem::value

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