|
QGIS API Documentation
2.4.0-Chugiak
|
#include <qgsvectorcolorrampv2.h>


Public Member Functions | |
| QgsVectorColorBrewerColorRampV2 (QString schemeName=DEFAULT_COLORBREWER_SCHEMENAME, int colors=DEFAULT_COLORBREWER_COLORS) | |
| virtual double | value (int index) const |
| virtual QColor | color (double value) const |
| virtual QString | type () const |
| virtual QgsVectorColorRampV2 * | clone () const |
| virtual QgsStringMap | properties () const |
| QString | schemeName () const |
| virtual int | count () const |
| int | colors () const |
| void | setSchemeName (QString schemeName) |
| void | setColors (int colors) |
Public Member Functions inherited from QgsVectorColorRampV2 | |
| virtual | ~QgsVectorColorRampV2 () |
Static Public Member Functions | |
| static QgsVectorColorRampV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
| static QStringList | listSchemeNames () |
| static QList< int > | listSchemeVariants (QString schemeName) |
Protected Member Functions | |
| void | loadPalette () |
Protected Attributes | |
| QString | mSchemeName |
| int | mColors |
| QList< QColor > | mPalette |
Definition at line 187 of file qgsvectorcolorrampv2.h.
| QgsVectorColorBrewerColorRampV2::QgsVectorColorBrewerColorRampV2 | ( | QString | schemeName = DEFAULT_COLORBREWER_SCHEMENAME, |
| int | colors = DEFAULT_COLORBREWER_COLORS |
||
| ) |
Definition at line 392 of file qgsvectorcolorrampv2.cpp.
References loadPalette().
|
virtual |
Implements QgsVectorColorRampV2.
Definition at line 443 of file qgsvectorcolorrampv2.cpp.
References mColors, mSchemeName, and QgsVectorColorBrewerColorRampV2().
|
virtual |
Implements QgsVectorColorRampV2.
Definition at line 432 of file qgsvectorcolorrampv2.cpp.
References mPalette.
|
inline |
Definition at line 207 of file qgsvectorcolorrampv2.h.
Referenced by create().
|
inlinevirtual |
Implements QgsVectorColorRampV2.
Definition at line 206 of file qgsvectorcolorrampv2.h.
|
static |
Definition at line 398 of file qgsvectorcolorrampv2.cpp.
References colors(), DEFAULT_COLORBREWER_COLORS, DEFAULT_COLORBREWER_SCHEMENAME, QgsVectorColorBrewerColorRampV2(), and schemeName().
Referenced by QgsSymbolLayerV2Utils::loadColorRamp().
|
static |
Definition at line 416 of file qgsvectorcolorrampv2.cpp.
References QgsColorBrewerPalette::listSchemes().
|
static |
Definition at line 421 of file qgsvectorcolorrampv2.cpp.
References QgsColorBrewerPalette::listSchemeVariants().
|
protected |
Definition at line 411 of file qgsvectorcolorrampv2.cpp.
References QgsColorBrewerPalette::listSchemeColors(), mColors, mPalette, and mSchemeName.
Referenced by QgsVectorColorBrewerColorRampV2().
|
virtual |
Implements QgsVectorColorRampV2.
Definition at line 448 of file qgsvectorcolorrampv2.cpp.
References mColors, and mSchemeName.
|
inline |
Definition at line 205 of file qgsvectorcolorrampv2.h.
Referenced by create().
|
inline |
Definition at line 210 of file qgsvectorcolorrampv2.h.
|
inline |
Definition at line 209 of file qgsvectorcolorrampv2.h.
|
inlinevirtual |
Implements QgsVectorColorRampV2.
Definition at line 199 of file qgsvectorcolorrampv2.h.
|
virtual |
Implements QgsVectorColorRampV2.
Definition at line 426 of file qgsvectorcolorrampv2.cpp.
References mPalette.
|
protected |
Definition at line 220 of file qgsvectorcolorrampv2.h.
Referenced by clone(), loadPalette(), and properties().
|
protected |
Definition at line 221 of file qgsvectorcolorrampv2.h.
Referenced by color(), loadPalette(), and value().
|
protected |
Definition at line 219 of file qgsvectorcolorrampv2.h.
Referenced by clone(), loadPalette(), and properties().
1.8.7