Skip to content

Commit b27b05b

Browse files
author
jef
committed
apply #1880
git-svn-id: http://svn.osgeo.org/qgis/trunk@12328 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 25264aa commit b27b05b

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)