QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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, QColor col, QString lbl=QString())
 convenience constructor - added in v1.6 More...
 
bool operator< (const ColorRampItem &other) const
 

Public Attributes

QString label
 
double value
 
QColor color
 

Constructor & Destructor Documentation

QgsColorRampShader::ColorRampItem::ColorRampItem ( )
inline

default constructor

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

convenience constructor - added in v1.6

Member Function Documentation

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

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: