Skip to content
Permalink
Browse files

add sip

  • Loading branch information
leyan committed Sep 9, 2014
1 parent 8517249 commit 45dfd53b4a6d0c32eb47487f950e97b7b165733d
@@ -147,6 +147,10 @@ class QgsCategorizedSymbolRendererV2 : QgsFeatureRendererV2
// @note added in 2.5
virtual void checkLegendSymbolItem( QString key, bool state = true );

//! convert the renderer to a rule based renderer with equivalent rules
//! @note added in 2.5
virtual QgsRuleBasedRendererV2* convertToRuleBasedRenderer();

protected:
void rebuildHash();

@@ -173,6 +173,10 @@ class QgsGraduatedSymbolRendererV2 : QgsFeatureRendererV2
// @note added in 2.5
virtual void checkLegendSymbolItem( QString key, bool state = true );

//! convert the renderer to a rule based renderer with equivalent rules
//! @note added in 2.5
virtual QgsRuleBasedRendererV2* convertToRuleBasedRenderer();



protected:
@@ -175,6 +175,10 @@ class QgsFeatureRendererV2
//! @note added in 1.9
virtual QgsSymbolV2List symbolsForFeature( QgsFeature& feat );

//! convert the renderer to a rule based renderer with equivalent rules, if possible
//! @note added in 2.5
virtual QgsRuleBasedRendererV2* convertToRuleBasedRenderer();

protected:
QgsFeatureRendererV2( QString type );

@@ -231,6 +231,10 @@ class QgsRuleBasedRendererV2 : QgsFeatureRendererV2
//! take a rule and create a list of new rules with intervals of scales given by the passed scale denominators
static void refineRuleScales( QgsRuleBasedRendererV2::Rule* initialRule, QList<int> scales );

//! convert the renderer to a rule based renderer with equivalent rules, if possible
//! @note added in 2.5
virtual QgsRuleBasedRendererV2* convertToRuleBasedRenderer();

private:
QgsRuleBasedRendererV2( const QgsRuleBasedRendererV2 & );
QgsRuleBasedRendererV2 & operator=( const QgsRuleBasedRendererV2 & );
@@ -66,6 +66,10 @@ class QgsSingleSymbolRendererV2 : QgsFeatureRendererV2
//! @note added in 2.6
virtual QgsLegendSymbolListV2 legendSymbolItemsV2() const;

//! convert the renderer to a rule based renderer with equivalent rules
//! @note added in 2.5
virtual QgsRuleBasedRendererV2* convertToRuleBasedRenderer();

private:
QgsSingleSymbolRendererV2( const QgsSingleSymbolRendererV2 & );
QgsSingleSymbolRendererV2 & operator=( const QgsSingleSymbolRendererV2 & );

0 comments on commit 45dfd53

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