QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
QgsRandomColorsV2 Class Reference

#include <qgsvectorcolorrampv2.h>

Inheritance diagram for QgsRandomColorsV2:
Inheritance graph
[legend]

Public Member Functions

 QgsRandomColorsV2 ()
 ~QgsRandomColorsV2 ()
int count () const
double value (int index) const
QColor color (double value) const
virtual void setTotalColorCount (const int colorCount)
QString type () const
QgsVectorColorRampV2clone () const
QgsStringMap properties () const
- Public Member Functions inherited from QgsVectorColorRampV2
virtual ~QgsVectorColorRampV2 ()

Protected Attributes

int mTotalColorCount
QList< QColor > mPrecalculatedColors

Constructor & Destructor Documentation

QgsRandomColorsV2::QgsRandomColorsV2 ( )
QgsRandomColorsV2::~QgsRandomColorsV2 ( )

Member Function Documentation

QgsVectorColorRampV2 * QgsRandomColorsV2::clone ( ) const
virtual

Implements QgsVectorColorRampV2.

QColor QgsRandomColorsV2::color ( double  value) const
virtual

Implements QgsVectorColorRampV2.

int QgsRandomColorsV2::count ( ) const
virtual

Implements QgsVectorColorRampV2.

QgsStringMap QgsRandomColorsV2::properties ( ) const
virtual

Implements QgsVectorColorRampV2.

void QgsRandomColorsV2::setTotalColorCount ( const int  colorCount)
virtual
QString QgsRandomColorsV2::type ( ) const
virtual

Implements QgsVectorColorRampV2.

double QgsRandomColorsV2::value ( int  index) const
virtual

Implements QgsVectorColorRampV2.

Member Data Documentation

QList<QColor> QgsRandomColorsV2::mPrecalculatedColors
protected
int QgsRandomColorsV2::mTotalColorCount
protected

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