QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 ()
 
 ~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::LayerpalLayer
 
const QgsCoordinateTransformct
 
const QgsMapToPixelxform
 
QList< QgsPalGeometry * > geometries
 
QgsFields fields
 
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.

References renderer.

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 75 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer().

double QgsDiagramLayerSettings::dist

Definition at line 70 of file qgsdiagramrendererv2.h.

Referenced by readXML(), and writeXML().

QgsFields QgsDiagramLayerSettings::fields

Definition at line 78 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer().

QList<QgsPalGeometry*> QgsDiagramLayerSettings::geometries

Definition at line 77 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::deleteTemporaryData().

bool QgsDiagramLayerSettings::obstacle

Definition at line 69 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().

pal::Layer* QgsDiagramLayerSettings::palLayer

Definition at line 74 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer().

Placement QgsDiagramLayerSettings::placement

Definition at line 66 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().

LinePlacementFlags QgsDiagramLayerSettings::placementFlags

Definition at line 67 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().

int QgsDiagramLayerSettings::priority

Definition at line 68 of file qgsdiagramrendererv2.h.

Referenced by QgsPalLabeling::addDiagramLayer(), readXML(), and writeXML().

QgsDiagramRendererV2* QgsDiagramLayerSettings::renderer
const QgsMapToPixel* QgsDiagramLayerSettings::xform

Definition at line 76 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: