QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
 
LinePlacementFlags placementFlags
 
int priority
 
QgsDiagramRendererV2renderer
 
const QgsMapToPixelxform
 
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 ( )

Definition at line 25 of file qgsdiagramrendererv2.cpp.

QgsDiagramLayerSettings::~QgsDiagramLayerSettings ( )

Definition at line 40 of file qgsdiagramrendererv2.cpp.

Member Function Documentation

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

Definition at line 45 of file qgsdiagramrendererv2.cpp.

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

Definition at line 58 of file qgsdiagramrendererv2.cpp.

Member Data Documentation

const QgsCoordinateTransform* QgsDiagramLayerSettings::ct

Definition at line 75 of file qgsdiagramrendererv2.h.

double QgsDiagramLayerSettings::dist

Definition at line 70 of file qgsdiagramrendererv2.h.

QgsFields QgsDiagramLayerSettings::fields

Definition at line 78 of file qgsdiagramrendererv2.h.

QList<QgsPalGeometry*> QgsDiagramLayerSettings::geometries

Definition at line 77 of file qgsdiagramrendererv2.h.

bool QgsDiagramLayerSettings::obstacle

Definition at line 69 of file qgsdiagramrendererv2.h.

pal::Layer* QgsDiagramLayerSettings::palLayer

Definition at line 74 of file qgsdiagramrendererv2.h.

Placement QgsDiagramLayerSettings::placement

Definition at line 66 of file qgsdiagramrendererv2.h.

LinePlacementFlags QgsDiagramLayerSettings::placementFlags

Definition at line 67 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::priority

Definition at line 68 of file qgsdiagramrendererv2.h.

QgsDiagramRendererV2* QgsDiagramLayerSettings::renderer

Definition at line 71 of file qgsdiagramrendererv2.h.

const QgsMapToPixel* QgsDiagramLayerSettings::xform

Definition at line 76 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::xPosColumn

Definition at line 80 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::yPosColumn

Definition at line 81 of file qgsdiagramrendererv2.h.


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