Skip to content

Commit

Permalink
Added missing python bindings for graduated symbol renderer v2
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14402 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Oct 18, 2010
1 parent cb0cc26 commit 33a8b13
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion python/core/symbology-ng-core.sip
Expand Up @@ -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
};

Expand All @@ -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/;
Expand Down

0 comments on commit 33a8b13

Please sign in to comment.