QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgslabelthinningsettings.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgslabelthinningsettings.cpp
3  ----------------------------
4  Date : December 2019
5  Copyright : (C) 2019 by Nyall Dawson
6  Email : nyall dot dawson at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
17 #include "qgspropertycollection.h"
18 #include "qgsexpressioncontext.h"
19 #include "qgspallabeling.h"
20 
21 
23 {
24  Q_UNUSED( properties )
25  Q_UNUSED( context )
26 
27  // temporarily avoid warnings
28  const int unused = 1;
29  ( void )unused;
30 }
QgsExpressionContext
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Definition: qgsexpressioncontext.h:406
qgspallabeling.h
qgslabelthinningsettings.h
QgsLabelThinningSettings::updateDataDefinedProperties
void updateDataDefinedProperties(const QgsPropertyCollection &properties, QgsExpressionContext &context)
Updates the thinning settings to respect any data defined properties set within the specified propert...
Definition: qgslabelthinningsettings.cpp:22
qgsexpressioncontext.h
QgsPropertyCollection
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Definition: qgspropertycollection.h:318
qgspropertycollection.h