QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
core
symbology
qgsfeaturerenderergenerator.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsfeaturerenderergenerator.h
3
-----------------------
4
Date : December 2020
5
Copyright : (C) 2020 by Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSFEATURERENDERERGENERATOR_H
17
#define QGSFEATURERENDERERGENERATOR_H
18
19
#include "qgis_core.h"
20
#include "
qgis_sip.h
"
21
#include <QString>
22
23
class
QgsFeatureRenderer
;
24
31
class
CORE_EXPORT
QgsFeatureRendererGenerator
32
{
33
public
:
34
35
virtual
~
QgsFeatureRendererGenerator
() =
default
;
36
40
virtual
QString id()
const
= 0;
41
62
virtual
double
level()
const
;
63
69
virtual
QgsFeatureRenderer
*createRenderer()
const
= 0
SIP_FACTORY
;
70
};
71
72
#endif // QGSFEATURERENDERERGENERATOR_H
QgsFeatureRendererGenerator
An interface for objects which generate feature renderers for vector layers.
Definition:
qgsfeaturerenderergenerator.h:31
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:76
qgis_sip.h
QgsFeatureRenderer
Definition:
qgsrenderer.h:101
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17