Skip to content

Commit 33a8b13

Browse files
author
wonder
committedOct 18, 2010
Added missing python bindings for graduated symbol renderer v2
git-svn-id: http://svn.osgeo.org/qgis/trunk@14402 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cb0cc26 commit 33a8b13

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎python/core/symbology-ng-core.sip

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,19 @@ public:
324324

325325
bool updateRangeSymbol(int rangeIndex, QgsSymbolV2* symbol /Transfer/);
326326
bool updateRangeLabel(int rangeIndex, QString label);
327+
bool updateRangeUpperValue( int rangeIndex, double value );
328+
bool updateRangeLowerValue( int rangeIndex, double value );
329+
330+
void addClass( QgsSymbolV2* symbol );
331+
void deleteClass( int idx );
327332

328333
enum Mode
329334
{
330335
EqualInterval,
331336
Quantile,
337+
Jenks,
338+
StdDev,
339+
Pretty,
332340
Custom
333341
};
334342

@@ -341,7 +349,7 @@ public:
341349
int classes,
342350
Mode mode,
343351
QgsSymbolV2* symbol,
344-
QgsVectorColorRampV2* ramp);
352+
QgsVectorColorRampV2* ramp) /Factory/;
345353

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

0 commit comments

Comments
 (0)
Please sign in to comment.