#include <qgsvectorcolorrampv2.h>
Public Member Functions |
| QgsCptCityColorRampV2 (QString schemeName=DEFAULT_CPTCITY_SCHEMENAME, QString variantName=DEFAULT_CPTCITY_VARIANTNAME, bool doLoadFile=true) |
| QgsCptCityColorRampV2 (QString schemeName, QStringList variantList, QString variantName=QString(), bool doLoadFile=true) |
virtual QgsVectorColorRampV2 * | clone () const override |
QgsVectorGradientColorRampV2 * | cloneGradientRamp () const |
void | copy (const QgsCptCityColorRampV2 *other) |
QString | copyingFileName () const |
QgsStringMap | copyingInfo () const |
QString | descFileName () const |
bool | fileLoaded () const |
QString | fileName () const |
bool | hasMultiStops () const |
bool | loadFile () |
void | loadPalette () |
virtual QgsStringMap | properties () const override |
QString | schemeName () const |
void | setName (QString schemeName, QString variantName="", QStringList variantList=QStringList()) |
void | setSchemeName (QString schemeName) |
void | setVariantList (QStringList variantList) |
void | setVariantName (QString variantName) |
virtual QString | type () const override |
QStringList | variantList () const |
QString | variantName () const |
| QgsVectorGradientColorRampV2 (QColor color1=DEFAULT_GRADIENT_COLOR1, QColor color2=DEFAULT_GRADIENT_COLOR2, bool discrete=false, QgsGradientStopsList stops=QgsGradientStopsList()) |
void | addStopsToGradient (QGradient *gradient, double alpha=1) |
| copy color ramp stops to a QGradient
|
virtual QColor | color (double value) const override |
QColor | color1 () const |
QColor | color2 () const |
void | convertToDiscrete (bool discrete) |
virtual int | count () const override |
QgsStringMap | info () const |
bool | isDiscrete () const |
void | setColor1 (QColor color) |
void | setColor2 (QColor color) |
void | setDiscrete (bool discrete) |
void | setInfo (const QgsStringMap &info) |
void | setStops (const QgsGradientStopsList &stops) |
const QgsGradientStopsList & | stops () const |
virtual double | value (int index) const override |
virtual | ~QgsVectorColorRampV2 () |
Detailed Description
Definition at line 243 of file qgsvectorcolorrampv2.h.
Constructor & Destructor Documentation
QgsCptCityColorRampV2::QgsCptCityColorRampV2 |
( |
QString |
schemeName, |
|
|
QStringList |
variantList, |
|
|
QString |
variantName = QString() , |
|
|
bool |
doLoadFile = true |
|
) |
| |
Member Function Documentation
QString QgsCptCityColorRampV2::copyingFileName |
( |
| ) |
const |
QString QgsCptCityColorRampV2::descFileName |
( |
| ) |
const |
bool QgsCptCityColorRampV2::fileLoaded |
( |
| ) |
const |
|
inline |
QString QgsCptCityColorRampV2::fileName |
( |
| ) |
const |
bool QgsCptCityColorRampV2::hasMultiStops |
( |
| ) |
const |
|
inline |
bool QgsCptCityColorRampV2::loadFile |
( |
| ) |
|
void QgsCptCityColorRampV2::loadPalette |
( |
| ) |
|
|
inline |
QString QgsCptCityColorRampV2::schemeName |
( |
| ) |
const |
|
inline |
void QgsCptCityColorRampV2::setName |
( |
QString |
schemeName, |
|
|
QString |
variantName = "" , |
|
|
QStringList |
variantList = QStringList() |
|
) |
| |
|
inline |
void QgsCptCityColorRampV2::setSchemeName |
( |
QString |
schemeName | ) |
|
|
inline |
void QgsCptCityColorRampV2::setVariantList |
( |
QStringList |
variantList | ) |
|
|
inline |
void QgsCptCityColorRampV2::setVariantName |
( |
QString |
variantName | ) |
|
|
inline |
virtual QString QgsCptCityColorRampV2::type |
( |
| ) |
const |
|
inlineoverridevirtual |
QStringList QgsCptCityColorRampV2::variantList |
( |
| ) |
const |
|
inline |
QString QgsCptCityColorRampV2::variantName |
( |
| ) |
const |
|
inline |
Member Data Documentation
bool QgsCptCityColorRampV2::mFileLoaded |
|
protected |
bool QgsCptCityColorRampV2::mMultiStops |
|
protected |
QString QgsCptCityColorRampV2::mSchemeName |
|
protected |
QStringList QgsCptCityColorRampV2::mVariantList |
|
protected |
QString QgsCptCityColorRampV2::mVariantName |
|
protected |
The documentation for this class was generated from the following files: