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
QgsDiagramSettings Class Reference

#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. More...
 

Member Enumeration Documentation

Orientation of histogram.

Enumerator
Up 
Down 
Left 
Right 
Enumerator
Height 
XHeight 
Enumerator
MM 
MapUnits 

Constructor & Destructor Documentation

QgsDiagramSettings::QgsDiagramSettings ( )
inline

Member Function Documentation

void QgsDiagramSettings::readXML ( const QDomElement &  elem,
const QgsVectorLayer layer 
)
void QgsDiagramSettings::writeXML ( QDomElement &  rendererElem,
QDomDocument &  doc,
const QgsVectorLayer layer 
) const

Member Data Documentation

int QgsDiagramSettings::angleOffset
QColor QgsDiagramSettings::backgroundColor
double QgsDiagramSettings::barWidth
QList< QString > QgsDiagramSettings::categoryAttributes
QList< QColor > QgsDiagramSettings::categoryColors
DiagramOrientation QgsDiagramSettings::diagramOrientation
QFont QgsDiagramSettings::font
LabelPlacementMethod QgsDiagramSettings::labelPlacementMethod
double QgsDiagramSettings::maxScaleDenominator
double QgsDiagramSettings::minimumSize

Scale diagrams smaller than mMinimumSize to mMinimumSize.

double QgsDiagramSettings::minScaleDenominator
QColor QgsDiagramSettings::penColor
double QgsDiagramSettings::penWidth
bool QgsDiagramSettings::scaleByArea
QSizeF QgsDiagramSettings::size
SizeType QgsDiagramSettings::sizeType
int QgsDiagramSettings::transparency

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