18 #include "qgis_core.h" 44 if ( sipCpp->diagramName() == QStringLiteral(
"Pie" ) )
45 sipType = sipType_QgsPieDiagram;
46 else if ( sipCpp->diagramName() == QStringLiteral(
"Histogram" ) )
47 sipType = sipType_QgsHistogramDiagram;
48 else if ( sipCpp->diagramName() == QStringLiteral(
"Text" ) )
49 sipType = sipType_QgsTextDiagram;
50 else if ( sipCpp->diagramName() == QStringLiteral(
"Stacked" ) )
51 sipType = sipType_QgsStackedBarDiagram;
80 virtual QString diagramName()
const = 0;
150 QMap<QString, QgsExpression *> mExpressions;
153 #endif // QGSDIAGRAM_H Class for parsing and evaluation of expressions (formerly called "search strings").
Container of fields for a vector layer.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Base class for all diagram types.
Additional diagram settings for interpolated size rendering.
Contains information about the context of a rendering operation.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Stores the settings for rendering a single diagram.