Skip to content
Permalink
Browse files

Fix missing sip bindings for renderers (fix #13545)

  • Loading branch information
nyalldawson committed Oct 8, 2015
1 parent e5ea5ff commit 3520f038ddb2bea1a52afe98dcb16119a5fdf617
@@ -109,6 +109,9 @@ class QgsCategorizedSymbolRendererV2 : QgsFeatureRendererV2
//! @note not available in python bindings
// virtual QgsLegendSymbolList legendSymbolItems( double scaleDenominator = -1, const QString& rule = QString() );

//! @note added in 2.10
QgsLegendSymbolListV2 legendSymbolItemsV2() const;

QgsSymbolV2* sourceSymbol();
void setSourceSymbol( QgsSymbolV2* sym /Transfer/ );

@@ -209,6 +209,9 @@ class QgsGraduatedSymbolRendererV2 : QgsFeatureRendererV2
//! @note not available in python bindings
// virtual QgsLegendSymbolList legendSymbolItems( double scaleDenominator = -1, const QString& rule = QString() );

//! @note added in 2.10
QgsLegendSymbolListV2 legendSymbolItemsV2() const;

QgsSymbolV2* sourceSymbol();
void setSourceSymbol( QgsSymbolV2* sym /Transfer/ );

@@ -125,7 +125,13 @@ class QgsFeatureRendererV2
virtual int capabilities();

//! for symbol levels
virtual QgsSymbolV2List symbols( QgsRenderContext& context ) = 0;
virtual QgsSymbolV2List symbols() /Deprecated/;

/** Returns list of symbols used by the renderer.
* @param context render context
* @note added in QGIS 2.12
*/
virtual QgsSymbolV2List symbols( QgsRenderContext& context );

bool usingSymbolLevels() const;
void setUsingSymbolLevels( bool usingSymbolLevels );

0 comments on commit 3520f03

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