#include <qgsdiagramrendererv2.h>
Additional Inherited Members |
static int | dpiPaintDevice (const QPainter *) |
| Returns the paint device dpi (or -1 in case of error.
|
QgsDiagram * | mDiagram |
| Reference to the object that does the real diagram rendering.
|
Constructor & Destructor Documentation
QgsLinearlyInterpolatedDiagramRenderer::QgsLinearlyInterpolatedDiagramRenderer |
( |
| ) |
|
QgsLinearlyInterpolatedDiagramRenderer::~QgsLinearlyInterpolatedDiagramRenderer |
( |
| ) |
|
Member Function Documentation
int QgsLinearlyInterpolatedDiagramRenderer::classificationAttribute |
( |
| ) |
const |
|
inline |
QString QgsLinearlyInterpolatedDiagramRenderer::classificationAttributeExpression |
( |
| ) |
const |
|
inline |
bool QgsLinearlyInterpolatedDiagramRenderer::classificationAttributeIsExpression |
( |
| ) |
const |
|
inline |
Returns new instance that is equivalent to this one.
- Note
- added in 2.4
Implements QgsDiagramRendererV2.
QList< QString > QgsLinearlyInterpolatedDiagramRenderer::diagramAttributes |
( |
| ) |
const |
|
virtual |
QList< QgsDiagramSettings > QgsLinearlyInterpolatedDiagramRenderer::diagramSettings |
( |
| ) |
const |
|
virtual |
Returns diagram settings for a feature (or false if the diagram for the feature is not to be rendered).
Used internally within renderDiagram()
- Parameters
-
feature | the feature |
c | render context |
s | out: diagram settings for the feature |
Implements QgsDiagramRendererV2.
Returns size of the diagram (in painter units) or an invalid size in case of error.
Implements QgsDiagramRendererV2.
QSizeF QgsLinearlyInterpolatedDiagramRenderer::lowerSize |
( |
| ) |
const |
|
inline |
double QgsLinearlyInterpolatedDiagramRenderer::lowerValue |
( |
| ) |
const |
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::readXML |
( |
const QDomElement & |
elem, |
|
|
const QgsVectorLayer * |
layer |
|
) |
| |
|
virtual |
QString QgsLinearlyInterpolatedDiagramRenderer::rendererName |
( |
| ) |
const |
|
inlinevirtual |
void QgsLinearlyInterpolatedDiagramRenderer::setClassificationAttribute |
( |
int |
index | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setClassificationAttributeExpression |
( |
QString |
expression | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setClassificationAttributeIsExpression |
( |
bool |
isExpression | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setDiagramSettings |
( |
const QgsDiagramSettings & |
s | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setLowerSize |
( |
QSizeF |
s | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setLowerValue |
( |
double |
val | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setUpperSize |
( |
QSizeF |
s | ) |
|
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::setUpperValue |
( |
double |
val | ) |
|
|
inline |
QSizeF QgsLinearlyInterpolatedDiagramRenderer::upperSize |
( |
| ) |
const |
|
inline |
double QgsLinearlyInterpolatedDiagramRenderer::upperValue |
( |
| ) |
const |
|
inline |
void QgsLinearlyInterpolatedDiagramRenderer::writeXML |
( |
QDomElement & |
layerElem, |
|
|
QDomDocument & |
doc, |
|
|
const QgsVectorLayer * |
layer |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following files: