QGIS API Documentation
2.2.0-Valmiera
|
#include <qgsdiagramrendererv2.h>
Public Types | |
enum | SizeType { MM, MapUnits } |
enum | LabelPlacementMethod { Height, XHeight } |
enum | DiagramOrientation { Up, Down, Left, Right } |
Orientation of histogram. More... |
Public Member Functions | |
QgsDiagramSettings () | |
void | readXML (const QDomElement &elem, const QgsVectorLayer *layer) |
void | writeXML (QDomElement &rendererElem, QDomDocument &doc, const QgsVectorLayer *layer) const |
Public Attributes | |
QFont | font |
QList< QColor > | categoryColors |
QList< QString > | categoryAttributes |
QSizeF | size |
SizeType | sizeType |
QColor | backgroundColor |
QColor | penColor |
double | penWidth |
LabelPlacementMethod | labelPlacementMethod |
DiagramOrientation | diagramOrientation |
double | barWidth |
int | transparency |
bool | scaleByArea |
int | angleOffset |
double | minScaleDenominator |
double | maxScaleDenominator |
double | minimumSize |
Scale diagrams smaller than mMinimumSize to mMinimumSize. |
Definition at line 98 of file qgsdiagramrendererv2.h.
Orientation of histogram.
Definition at line 114 of file qgsdiagramrendererv2.h.
Definition at line 107 of file qgsdiagramrendererv2.h.
Definition at line 101 of file qgsdiagramrendererv2.h.
|
inline |
Definition at line 122 of file qgsdiagramrendererv2.h.
void QgsDiagramSettings::readXML | ( | const QDomElement & | elem, |
const QgsVectorLayer * | layer | ||
) |
Definition at line 53 of file qgsdiagramrendererv2.cpp.
References angleOffset, backgroundColor, barWidth, categoryAttributes, categoryColors, diagramOrientation, Down, font, Height, labelPlacementMethod, Left, MapUnits, maxScaleDenominator, minimumSize, minScaleDenominator, MM, penColor, penWidth, Right, scaleByArea, size, sizeType, transparency, Up, and XHeight.
Referenced by QgsSingleCategoryDiagramRenderer::readXML(), and QgsLinearlyInterpolatedDiagramRenderer::readXML().
void QgsDiagramSettings::writeXML | ( | QDomElement & | rendererElem, |
QDomDocument & | doc, | ||
const QgsVectorLayer * | layer | ||
) | const |
Definition at line 164 of file qgsdiagramrendererv2.cpp.
References angleOffset, backgroundColor, barWidth, categoryAttributes, categoryColors, diagramOrientation, Down, font, Height, labelPlacementMethod, Left, maxScaleDenominator, minimumSize, minScaleDenominator, MM, penColor, penWidth, Right, scaleByArea, size, sizeType, transparency, and Up.
Referenced by QgsSingleCategoryDiagramRenderer::writeXML(), and QgsLinearlyInterpolatedDiagramRenderer::writeXML().
int QgsDiagramSettings::angleOffset |
Definition at line 137 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
QColor QgsDiagramSettings::backgroundColor |
Definition at line 129 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
double QgsDiagramSettings::barWidth |
Definition at line 134 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
QList< QString > QgsDiagramSettings::categoryAttributes |
Definition at line 126 of file qgsdiagramrendererv2.h.
Referenced by QgsLinearlyInterpolatedDiagramRenderer::diagramAttributes(), readXML(), and writeXML().
QList< QColor > QgsDiagramSettings::categoryColors |
Definition at line 125 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
DiagramOrientation QgsDiagramSettings::diagramOrientation |
Definition at line 133 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
QFont QgsDiagramSettings::font |
Definition at line 124 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
LabelPlacementMethod QgsDiagramSettings::labelPlacementMethod |
Definition at line 132 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
double QgsDiagramSettings::maxScaleDenominator |
Definition at line 141 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
double QgsDiagramSettings::minimumSize |
Scale diagrams smaller than mMinimumSize to mMinimumSize.
Definition at line 144 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
double QgsDiagramSettings::minScaleDenominator |
Definition at line 140 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
QColor QgsDiagramSettings::penColor |
Definition at line 130 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
double QgsDiagramSettings::penWidth |
Definition at line 131 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
bool QgsDiagramSettings::scaleByArea |
Definition at line 136 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().
QSizeF QgsDiagramSettings::size |
Definition at line 127 of file qgsdiagramrendererv2.h.
Referenced by QgsLinearlyInterpolatedDiagramRenderer::diagramSettings(), readXML(), and writeXML().
SizeType QgsDiagramSettings::sizeType |
Definition at line 128 of file qgsdiagramrendererv2.h.
Referenced by readXML(), QgsDiagramRendererV2::sizeMapUnits(), and writeXML().
int QgsDiagramSettings::transparency |
Definition at line 135 of file qgsdiagramrendererv2.h.
Referenced by readXML(), and writeXML().