QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsVectorColorBrewerColorRampV2 Class Reference

#include <qgsvectorcolorrampv2.h>

Inheritance diagram for QgsVectorColorBrewerColorRampV2:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorColorBrewerColorRampV2 (QString schemeName=DEFAULT_COLORBREWER_SCHEMENAME, int colors=DEFAULT_COLORBREWER_COLORS)
 
virtual QgsVectorColorRampV2clone () const
 
virtual QColor color (double value) const
 
int colors () const
 
virtual int count () const
 
virtual QgsStringMap properties () const
 
QString schemeName () const
 
void setColors (int colors)
 
void setSchemeName (QString schemeName)
 
virtual QString type () const
 
virtual double value (int index) const
 
- Public Member Functions inherited from QgsVectorColorRampV2
virtual ~QgsVectorColorRampV2 ()
 

Static Public Member Functions

static QgsVectorColorRampV2create (const QgsStringMap &properties=QgsStringMap())
 
static QStringList listSchemeNames ()
 
static QList< int > listSchemeVariants (QString schemeName)
 

Protected Member Functions

void loadPalette ()
 

Protected Attributes

int mColors
 
QList< QColor > mPalette
 
QString mSchemeName
 

Detailed Description

Definition at line 202 of file qgsvectorcolorrampv2.h.

Constructor & Destructor Documentation

QgsVectorColorBrewerColorRampV2::QgsVectorColorBrewerColorRampV2 ( QString  schemeName = DEFAULT_COLORBREWER_SCHEMENAME,
int  colors = DEFAULT_COLORBREWER_COLORS 
)

Definition at line 444 of file qgsvectorcolorrampv2.cpp.

Member Function Documentation

QgsVectorColorRampV2 * QgsVectorColorBrewerColorRampV2::clone ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 495 of file qgsvectorcolorrampv2.cpp.

QColor QgsVectorColorBrewerColorRampV2::color ( double  value) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 484 of file qgsvectorcolorrampv2.cpp.

int QgsVectorColorBrewerColorRampV2::colors ( ) const
inline

Definition at line 222 of file qgsvectorcolorrampv2.h.

virtual int QgsVectorColorBrewerColorRampV2::count ( ) const
inlinevirtual

Implements QgsVectorColorRampV2.

Definition at line 221 of file qgsvectorcolorrampv2.h.

QgsVectorColorRampV2 * QgsVectorColorBrewerColorRampV2::create ( const QgsStringMap properties = QgsStringMap())
static

Definition at line 450 of file qgsvectorcolorrampv2.cpp.

QStringList QgsVectorColorBrewerColorRampV2::listSchemeNames ( )
static

Definition at line 468 of file qgsvectorcolorrampv2.cpp.

QList< int > QgsVectorColorBrewerColorRampV2::listSchemeVariants ( QString  schemeName)
static

Definition at line 473 of file qgsvectorcolorrampv2.cpp.

void QgsVectorColorBrewerColorRampV2::loadPalette ( )
protected

Definition at line 463 of file qgsvectorcolorrampv2.cpp.

QgsStringMap QgsVectorColorBrewerColorRampV2::properties ( ) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 500 of file qgsvectorcolorrampv2.cpp.

QString QgsVectorColorBrewerColorRampV2::schemeName ( ) const
inline

Definition at line 220 of file qgsvectorcolorrampv2.h.

void QgsVectorColorBrewerColorRampV2::setColors ( int  colors)
inline

Definition at line 225 of file qgsvectorcolorrampv2.h.

void QgsVectorColorBrewerColorRampV2::setSchemeName ( QString  schemeName)
inline

Definition at line 224 of file qgsvectorcolorrampv2.h.

virtual QString QgsVectorColorBrewerColorRampV2::type ( ) const
inlinevirtual

Implements QgsVectorColorRampV2.

Definition at line 214 of file qgsvectorcolorrampv2.h.

double QgsVectorColorBrewerColorRampV2::value ( int  index) const
virtual

Implements QgsVectorColorRampV2.

Definition at line 478 of file qgsvectorcolorrampv2.cpp.

Member Data Documentation

int QgsVectorColorBrewerColorRampV2::mColors
protected

Definition at line 235 of file qgsvectorcolorrampv2.h.

QList<QColor> QgsVectorColorBrewerColorRampV2::mPalette
protected

Definition at line 236 of file qgsvectorcolorrampv2.h.

QString QgsVectorColorBrewerColorRampV2::mSchemeName
protected

Definition at line 234 of file qgsvectorcolorrampv2.h.


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