QGIS API Documentation  2.5.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  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
 

Member Enumeration Documentation

Enumerator
OnLine 
AboveLine 
BelowLine 
MapOrientation 
Enumerator
AroundPoint 
OverPoint 
Line 
Curved 
Horizontal 
Free 

Constructor & Destructor Documentation

QgsDiagramLayerSettings::QgsDiagramLayerSettings ( )
QgsDiagramLayerSettings::~QgsDiagramLayerSettings ( )

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
double QgsDiagramLayerSettings::dist
QgsFields QgsDiagramLayerSettings::fields
QList<QgsPalGeometry*> QgsDiagramLayerSettings::geometries
bool QgsDiagramLayerSettings::obstacle
pal::Layer* QgsDiagramLayerSettings::palLayer
Placement QgsDiagramLayerSettings::placement
LinePlacementFlags QgsDiagramLayerSettings::placementFlags
int QgsDiagramLayerSettings::priority
QgsDiagramRendererV2* QgsDiagramLayerSettings::renderer
const QgsMapToPixel* QgsDiagramLayerSettings::xform
int QgsDiagramLayerSettings::xPosColumn
int QgsDiagramLayerSettings::yPosColumn

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