Skip to content

Commit 29b55d6

Browse files
author
jef
committedDec 3, 2009

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎python/core/qgsuniquevaluerenderer.sip

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class QgsUniqueValueRenderer : QgsRenderer
3939
int classificationField();
4040
/**Return symbology items*/
4141
const QList<QgsSymbol*> symbols() const;
42+
/**Return the classification map
43+
@note added in 1.4 */
44+
const QMap<QString, QgsSymbol*> symbolMap() const;
4245
QgsRenderer* clone() const /Factory/;
4346
};
4447

‎src/core/renderer/qgsuniquevaluerenderer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ class CORE_EXPORT QgsUniqueValueRenderer: public QgsRenderer
6363
int classificationField() const;
6464
/**Return symbology items*/
6565
const QList<QgsSymbol*> symbols() const { return mSymbols.values(); }
66+
/**Return the classification map
67+
@note added in 1.4 */
68+
const QMap<QString, QgsSymbol*> symbolMap() const { return mSymbols; }
6669
QgsRenderer* clone() const;
6770
protected:
6871
/**Field index used for classification*/

0 commit comments

Comments
 (0)
Please sign in to comment.