QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Functions
qgspallabeling.cpp File Reference
#include "qgspallabeling.h"
#include "qgstextlabelfeature.h"
#include "qgsunittypes.h"
#include <list>
#include <pal/pal.h>
#include <pal/feature.h>
#include <pal/layer.h>
#include <pal/palexception.h>
#include <pal/problem.h>
#include <pal/labelposition.h>
#include <cmath>
#include <QApplication>
#include <QByteArray>
#include <QString>
#include <QFontMetrics>
#include <QTime>
#include <QPainter>
#include "diagram/qgsdiagram.h"
#include "qgsdiagramrendererv2.h"
#include "qgsfontutils.h"
#include "qgslabelsearchtree.h"
#include "qgsexpression.h"
#include "qgsdatadefined.h"
#include "qgslabelingenginev2.h"
#include "qgsvectorlayerlabeling.h"
#include <qgslogger.h>
#include <qgsvectorlayer.h>
#include <qgsmaplayerregistry.h>
#include <qgsvectordataprovider.h>
#include <qgsvectorlayerdiagramprovider.h>
#include <qgsvectorlayerlabelprovider.h>
#include <qgsgeometry.h>
#include <qgsmaprenderer.h>
#include <qgsmarkersymbollayerv2.h>
#include <qgsproject.h>
#include "qgssymbolv2.h"
#include "qgssymbollayerv2utils.h"
#include "qgsmaptopixelgeometrysimplifier.h"
#include <QMessageBox>
Include dependency graph for qgspallabeling.cpp:

Go to the source code of this file.

Functions

static Qt::PenJoinStyle _decodePenJoinStyle (const QString &str)
 
static QgsPalLayerSettings::SizeUnit _decodeUnits (const QString &str)
 
static void _fixQPictureDPI (QPainter *p)
 
static QColor _readColor (QgsVectorLayer *layer, const QString &property, const QColor &defaultColor=Qt::black, bool withAlpha=true)
 
static void _writeColor (QgsVectorLayer *layer, const QString &property, const QColor &color, bool withAlpha=true)
 
Q_GUI_EXPORT int qt_defaultDpiX ()
 
Q_GUI_EXPORT int qt_defaultDpiY ()
 

Function Documentation

◆ _decodePenJoinStyle()

static Qt::PenJoinStyle _decodePenJoinStyle ( const QString str)
static

Definition at line 581 of file qgspallabeling.cpp.

◆ _decodeUnits()

static QgsPalLayerSettings::SizeUnit _decodeUnits ( const QString str)
static

Definition at line 571 of file qgspallabeling.cpp.

◆ _fixQPictureDPI()

static void _fixQPictureDPI ( QPainter p)
static

Definition at line 68 of file qgspallabeling.cpp.

◆ _readColor()

static QColor _readColor ( QgsVectorLayer layer,
const QString property,
const QColor defaultColor = Qt::black,
bool  withAlpha = true 
)
static

Definition at line 553 of file qgspallabeling.cpp.

◆ _writeColor()

static void _writeColor ( QgsVectorLayer layer,
const QString property,
const QColor color,
bool  withAlpha = true 
)
static

Definition at line 562 of file qgspallabeling.cpp.

◆ qt_defaultDpiX()

Q_GUI_EXPORT int qt_defaultDpiX ( )

◆ qt_defaultDpiY()

Q_GUI_EXPORT int qt_defaultDpiY ( )