Skip to content


adjust .sip file after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennesky committed Nov 17, 2012
1 parent b875fe0 commit 4c53c62
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions python/core/symbology-ng/qgsvectorcolorrampv2.sip
Expand Up @@ -156,29 +156,15 @@ class QgsCptCityColorRampV2
QgsCptCityColorRampV2( QString schemeName, QStringList variantList,
QString variantName = QString(), bool doLoadFile = true );

enum GradientType
Discrete, //discrete stops, e.g. Color Brewer
Continuous, //continuous, e.g. QgsVectorColorRampV2
ContinuousMulti //continuous with 2 values in intermediate stops
typedef QList< QPair < double, QColor > > GradientList;

static QgsVectorColorRampV2* create( const QgsStringMap& properties = QgsStringMap() ) /Factory/;

virtual QColor color( double value ) const;

virtual QString type() const;

virtual QgsVectorColorRampV2* clone() const /Factory/;
void copy( const QgsCptCityColorRampV2* other );

virtual QgsStringMap properties() const;

int count() const;

QString schemeName() const;
QString variantName() const;
QStringList variantList() const;
Expand All @@ -190,7 +176,8 @@ class QgsCptCityColorRampV2
void setName( QString schemeName, QString variantName = "", QStringList variantList = QStringList() );

void loadPalette();
GradientType gradientType() const;
bool hasMultiStops() const;
int count() const;

QString fileName() const;
bool loadFile();
Expand Down

0 comments on commit 4c53c62

Please sign in to comment.