QGIS API Documentation
2.2.0-Valmiera
|
#include <qgsdiagramrendererv2.h>
Public Types | |
enum | Placement { AroundPoint = 0, OverPoint, Line, Curved, Horizontal, Free } |
enum | LinePlacementFlags { OnLine = 1, AboveLine = 2, BelowLine = 4, MapOrientation = 8 } |
Public Member Functions | |
QgsDiagramLayerSettings () | |
void | readXML (const QDomElement &elem, const QgsVectorLayer *layer) |
void | writeXML (QDomElement &layerElem, QDomDocument &doc, const QgsVectorLayer *layer) const |
Public Attributes | |
Placement | placement |
LinePlacementFlags | placementFlags |
int | priority |
bool | obstacle |
double | dist |
QgsDiagramRendererV2 * | renderer |
pal::Layer * | palLayer |
const QgsCoordinateTransform * | ct |
const QgsMapToPixel * | xform |
QList< QgsPalGeometry * > | geometries |
int | xPosColumn |
int | yPosColumn |
Definition at line 39 of file qgsdiagramrendererv2.h.
Definition at line 53 of file qgsdiagramrendererv2.h.
Definition at line 43 of file qgsdiagramrendererv2.h.
|
inline |
Definition at line 61 of file qgsdiagramrendererv2.h.
void QgsDiagramLayerSettings::readXML | ( | const QDomElement & | elem, |
const QgsVectorLayer * | layer | ||
) |
Definition at line 25 of file qgsdiagramrendererv2.cpp.
References dist, obstacle, placement, placementFlags, priority, xPosColumn, and yPosColumn.
Referenced by QgsVectorLayer::readSymbology().
void QgsDiagramLayerSettings::writeXML | ( | QDomElement & | layerElem, |
QDomDocument & | doc, | ||
const QgsVectorLayer * | layer | ||
) | const |
Definition at line 38 of file qgsdiagramrendererv2.cpp.
References dist, obstacle, placement, placementFlags, priority, xPosColumn, and yPosColumn.
Referenced by QgsVectorLayer::writeSymbology().
const QgsCoordinateTransform* QgsDiagramLayerSettings::ct |
Definition at line 86 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer().
double QgsDiagramLayerSettings::dist |
Definition at line 81 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
QList<QgsPalGeometry*> QgsDiagramLayerSettings::geometries |
Definition at line 88 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::drawLabeling().
bool QgsDiagramLayerSettings::obstacle |
Definition at line 80 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().
pal::Layer* QgsDiagramLayerSettings::palLayer |
Definition at line 85 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer().
Placement QgsDiagramLayerSettings::placement |
Definition at line 77 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().
LinePlacementFlags QgsDiagramLayerSettings::placementFlags |
Definition at line 78 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().
int QgsDiagramLayerSettings::priority |
Definition at line 79 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().
QgsDiagramRendererV2* QgsDiagramLayerSettings::renderer |
Definition at line 82 of file qgsdiagramrendererv2.h.
Referenced by QgsVectorLayer::prepareLabelingAndDiagrams().
const QgsMapToPixel* QgsDiagramLayerSettings::xform |
Definition at line 87 of file qgsdiagramrendererv2.h.
Referenced by QgsPalLabeling::addDiagramLayer().
int QgsDiagramLayerSettings::xPosColumn |
Definition at line 90 of file qgsdiagramrendererv2.h.
Referenced by QgsVectorLayer::prepareLabelingAndDiagrams(), readXML(), and writeXML().
int QgsDiagramLayerSettings::yPosColumn |
Definition at line 91 of file qgsdiagramrendererv2.h.
Referenced by QgsVectorLayer::prepareLabelingAndDiagrams(), readXML(), and writeXML().