QGIS API Documentation  2.14.0-Essen
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 (const QgsDiagramLayerSettings &rh)
 ~QgsDiagramLayerSettings ()
QgsDiagramLayerSettingsoperator= (const QgsDiagramLayerSettings &rh)
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
bool obstacle
Placement placement
unsigned int placementFlags
int priority
bool showAll
const QgsMapToPixelxform
int xPosColumn
int yPosColumn
double zIndex
 Z-index of diagrams, where diagrams with a higher z-index are drawn on top of diagrams with a lower z-index. More...

Detailed Description

Definition at line 40 of file qgsdiagramrendererv2.h.

Member Enumeration Documentation


Definition at line 54 of file qgsdiagramrendererv2.h.


Definition at line 44 of file qgsdiagramrendererv2.h.

Constructor & Destructor Documentation

QgsDiagramLayerSettings::QgsDiagramLayerSettings ( )

Definition at line 27 of file qgsdiagramrendererv2.cpp.

QgsDiagramLayerSettings::QgsDiagramLayerSettings ( const QgsDiagramLayerSettings rh)

Definition at line 43 of file qgsdiagramrendererv2.cpp.

QgsDiagramLayerSettings::~QgsDiagramLayerSettings ( )

Definition at line 78 of file qgsdiagramrendererv2.cpp.

Member Function Documentation

QgsDiagramLayerSettings & QgsDiagramLayerSettings::operator= ( const QgsDiagramLayerSettings rh)

Definition at line 60 of file qgsdiagramrendererv2.cpp.

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

Definition at line 83 of file qgsdiagramrendererv2.cpp.

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

Definition at line 98 of file qgsdiagramrendererv2.cpp.

Member Data Documentation

const QgsCoordinateTransform* QgsDiagramLayerSettings::ct

Definition at line 81 of file qgsdiagramrendererv2.h.

double QgsDiagramLayerSettings::dist

Definition at line 77 of file qgsdiagramrendererv2.h.

QgsFields QgsDiagramLayerSettings::fields

Definition at line 83 of file qgsdiagramrendererv2.h.

bool QgsDiagramLayerSettings::obstacle

Definition at line 76 of file qgsdiagramrendererv2.h.

Placement QgsDiagramLayerSettings::placement

Definition at line 69 of file qgsdiagramrendererv2.h.

unsigned int QgsDiagramLayerSettings::placementFlags

Definition at line 70 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::priority

Definition at line 71 of file qgsdiagramrendererv2.h.

QgsDiagramRendererV2* QgsDiagramLayerSettings::renderer

Definition at line 78 of file qgsdiagramrendererv2.h.

bool QgsDiagramLayerSettings::showAll

Definition at line 87 of file qgsdiagramrendererv2.h.

const QgsMapToPixel* QgsDiagramLayerSettings::xform

Definition at line 82 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::xPosColumn

Definition at line 85 of file qgsdiagramrendererv2.h.

int QgsDiagramLayerSettings::yPosColumn

Definition at line 86 of file qgsdiagramrendererv2.h.

double QgsDiagramLayerSettings::zIndex

Z-index of diagrams, where diagrams with a higher z-index are drawn on top of diagrams with a lower z-index.

Definition at line 74 of file qgsdiagramrendererv2.h.

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