Quantum GIS API Documentation  1.7.4
Classes | Functions
src/core/qgspallabeling.cpp File Reference
#include "qgspallabeling.h"
#include <iostream>
#include <list>
#include <pal/pal.h>
#include <pal/feature.h>
#include <pal/layer.h>
#include <pal/palgeometry.h>
#include <pal/palexception.h>
#include <pal/problem.h>
#include <pal/labelposition.h>
#include <geos_c.h>
#include <cmath>
#include <QByteArray>
#include <QString>
#include <QFontMetrics>
#include <QTime>
#include <QPainter>
#include "qgsdiagram.h"
#include "qgsdiagramrendererv2.h"
#include "qgslabelsearchtree.h"
#include <qgslogger.h>
#include <qgsvectorlayer.h>
#include <qgsmaplayerregistry.h>
#include <qgsvectordataprovider.h>
#include <qgsgeometry.h>
#include <qgsmaprenderer.h>
Include dependency graph for qgspallabeling.cpp:

Go to the source code of this file.

Classes

class  QgsPalGeometry

Functions

static QColor _readColor (QgsVectorLayer *layer, QString property)
static void _writeColor (QgsVectorLayer *layer, QString property, QColor color)
static void _writeDataDefinedPropertyMap (QgsVectorLayer *layer, const QMap< QgsPalLayerSettings::DataDefinedProperties, int > &propertyMap)
static void _readDataDefinedProperty (QgsVectorLayer *layer, QgsPalLayerSettings::DataDefinedProperties p, QMap< QgsPalLayerSettings::DataDefinedProperties, int > &propertyMap)
static void _readDataDefinedPropertyMap (QgsVectorLayer *layer, QMap< QgsPalLayerSettings::DataDefinedProperties, int > &propertyMap)

Function Documentation

static QColor _readColor ( QgsVectorLayer layer,
QString  property 
) [static]

Definition at line 192 of file qgspallabeling.cpp.

References QgsMapLayer::customProperty().

Referenced by QgsPalLayerSettings::readFromLayer().

Definition at line 230 of file qgspallabeling.cpp.

References QgsMapLayer::customProperty().

Referenced by _readDataDefinedPropertyMap().

static void _readDataDefinedPropertyMap ( QgsVectorLayer layer,
QMap< QgsPalLayerSettings::DataDefinedProperties, int > &  propertyMap 
) [static]
static void _writeColor ( QgsVectorLayer layer,
QString  property,
QColor  color 
) [static]

Definition at line 200 of file qgspallabeling.cpp.

References QgsMapLayer::setCustomProperty().

Referenced by QgsPalLayerSettings::writeToLayer().

static void _writeDataDefinedPropertyMap ( QgsVectorLayer layer,
const QMap< QgsPalLayerSettings::DataDefinedProperties, int > &  propertyMap 
) [static]

Definition at line 207 of file qgspallabeling.cpp.

References QgsMapLayer::setCustomProperty().

Referenced by QgsPalLayerSettings::writeToLayer().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines