Skip to content
Permalink
Browse files

Added missing python bindings for graduated symbol renderer v2

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14402 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Oct 18, 2010
1 parent 1244739 commit b7c062f4515209837f28aa21a53845ff7a508590
Showing with 9 additions and 1 deletion.
  1. +9 −1 python/core/symbology-ng-core.sip
@@ -324,11 +324,19 @@ public:

bool updateRangeSymbol(int rangeIndex, QgsSymbolV2* symbol /Transfer/);
bool updateRangeLabel(int rangeIndex, QString label);
bool updateRangeUpperValue( int rangeIndex, double value );
bool updateRangeLowerValue( int rangeIndex, double value );

void addClass( QgsSymbolV2* symbol );
void deleteClass( int idx );

enum Mode
{
EqualInterval,
Quantile,
Jenks,
StdDev,
Pretty,
Custom
};

@@ -341,7 +349,7 @@ public:
int classes,
Mode mode,
QgsSymbolV2* symbol,
QgsVectorColorRampV2* ramp);
QgsVectorColorRampV2* ramp) /Factory/;

//! create a renderer from XML element
static QgsFeatureRendererV2* load(QDomElement& symbologyElem) /Factory/;

0 comments on commit b7c062f

Please sign in to comment.
You can’t perform that action at this time.