QGIS API Documentation  2.9.0-Master
Public Types | Public Member Functions | Public Attributes | List of all members
QgsDiagramLayerSettings Class Reference

#include <qgsdiagramrendererv2.h>

Public Types

enum  LinePlacementFlags { OnLine = 1, AboveLine = 2, BelowLine = 4, MapOrientation = 8 }
 
enum  Placement {
  AroundPoint = 0, OverPoint, Line, Curved,
  Horizontal, Free
}
 

Public Member Functions

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

Public Attributes

const QgsCoordinateTransformct
 
double dist
 
QgsFields fields
 
QList< QgsPalGeometry * > geometries
 
bool obstacle
 
pal::LayerpalLayer
 
Placement placement
 
unsigned int placementFlags
 
int priority
 
QgsDiagramRendererV2renderer
 
bool showAll
 
const QgsMapToPixelxform
 
int xPosColumn
 
int yPosColumn
 

Detailed Description

Definition at line 41 of file qgsdiagramrendererv2.h.

Member Enumeration Documentation

Enumerator
OnLine 
AboveLine 
BelowLine 
MapOrientation 

Definition at line 55 of file qgsdiagramrendererv2.h.

Enumerator
AroundPoint 
OverPoint 
Line 
Curved 
Horizontal 
Free 

Definition at line 45 of file qgsdiagramrendererv2.h.

Constructor & Destructor Documentation

QgsDiagramLayerSettings::QgsDiagramLayerSettings ( )

Definition at line 26 of file qgsdiagramrendererv2.cpp.

QgsDiagramLayerSettings::~QgsDiagramLayerSettings ( )

Definition at line 42 of file qgsdiagramrendererv2.cpp.

Member Function Documentation

void QgsDiagramLayerSettings::readXML ( const QDomElement &  elem,
const QgsVectorLayer layer 
)

Definition at line 47 of file qgsdiagramrendererv2.cpp.

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

Definition at line 61 of file qgsdiagramrendererv2.cpp.

Member Data Documentation

const QgsCoordinateTransform* QgsDiagramLayerSettings::ct

Definition at line 77 of file qgsdiagramrendererv2.h.

double QgsDiagramLayerSettings::dist

Definition at line 72 of file qgsdiagramrendererv2.h.

QgsFields QgsDiagramLayerSettings::fields

Definition at line 80 of file qgsdiagramrendererv2.h.

QList<QgsPalGeometry*> QgsDiagramLayerSettings::geometries

Definition at line 79 of file qgsdiagramrendererv2.h.

bool QgsDiagramLayerSettings::obstacle

Definition at line 71 of file qgsdiagramrendererv2.h.

pal::Layer* QgsDiagramLayerSettings::palLayer

Definition at line 76 of file qgsdiagramrendererv2.h.

Placement QgsDiagramLayerSettings::placement

Definition at line 68 of file qgsdiagramrendererv2.h.

unsigned int QgsDiagramLayerSettings::placementFlags

Definition at line 69 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::priority

Definition at line 70 of file qgsdiagramrendererv2.h.

QgsDiagramRendererV2* QgsDiagramLayerSettings::renderer

Definition at line 73 of file qgsdiagramrendererv2.h.

bool QgsDiagramLayerSettings::showAll

Definition at line 84 of file qgsdiagramrendererv2.h.

const QgsMapToPixel* QgsDiagramLayerSettings::xform

Definition at line 78 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::xPosColumn

Definition at line 82 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::yPosColumn

Definition at line 83 of file qgsdiagramrendererv2.h.


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