QGIS API Documentation  2.2.0-Valmiera
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
QgsDiagramLayerSettings Class Reference

#include <qgsdiagramrendererv2.h>

Collaboration diagram for QgsDiagramLayerSettings:
Collaboration graph
[legend]

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
QgsDiagramRendererV2renderer
pal::Layer * palLayer
const QgsCoordinateTransformct
const QgsMapToPixelxform
QList< QgsPalGeometry * > geometries
int xPosColumn
int yPosColumn

Detailed Description

Definition at line 39 of file qgsdiagramrendererv2.h.

Member Enumeration Documentation

Enumerator:
OnLine 
AboveLine 
BelowLine 
MapOrientation 

Definition at line 53 of file qgsdiagramrendererv2.h.

Enumerator:
AroundPoint 
OverPoint 
Line 
Curved 
Horizontal 
Free 

Definition at line 43 of file qgsdiagramrendererv2.h.

Constructor & Destructor Documentation

QgsDiagramLayerSettings::QgsDiagramLayerSettings ( )
inline

Definition at line 61 of file qgsdiagramrendererv2.h.

Member Function Documentation

void QgsDiagramLayerSettings::readXML ( const QDomElement &  elem,
const QgsVectorLayer layer 
)
void QgsDiagramLayerSettings::writeXML ( QDomElement &  layerElem,
QDomDocument &  doc,
const QgsVectorLayer layer 
) const

Member Data Documentation

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
int QgsDiagramLayerSettings::yPosColumn

The documentation for this class was generated from the following files: