Skip to content

Commit 39b89d1

Browse files
committed
SIP sync
1 parent e06192e commit 39b89d1

6 files changed

Lines changed: 14 additions & 1 deletion

File tree

‎python/core/composer/qgscomposerobject.sip‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,14 @@ class QgsComposerObject : QObject, QgsExpressionContextGenerator
5454
//legend item
5555
LegendTitle, //!< Legend title
5656
LegendColumnCount, //!< Legend column count
57+
ScalebarFillColor, //!< Scalebar fill color
58+
ScalebarFillColor2, //!< Scalebar secondary fill color
59+
ScalebarLineColor, //!< Scalebar line color
60+
ScalebarLineWidth, //!< Scalebar line width
5761
};
5862

63+
static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;
64+
5965
/** Specifies whether the value returned by a function should be the original, user
6066
* set value, or the current evaluated value for the property. This may differ if
6167
* a property has a data defined expression active.

‎python/core/composer/qgscomposerscalebar.sip‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ class QgsComposerScaleBar: QgsComposerItem
309309
void updateSegmentSize();
310310
/** Sets mCompositionMap to 0 if the map is deleted*/
311311
void invalidateCurrentMap();
312+
virtual void refreshDataDefinedProperty( const QgsComposerObject::DataDefinedProperty property = QgsComposerObject::AllProperties, const QgsExpressionContext* context = nullptr );
312313

313314
protected:
314315
/** Calculates with of a segment in mm and stores it in mSegmentMillimeters*/

‎python/core/qgsdiagramrenderer.sip‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ class QgsDiagramLayerSettings
209209

210210
void setDataDefinedProperties( const QgsPropertyCollection& collection );
211211

212+
static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;
213+
212214
};
213215

214216
/** \ingroup core

‎python/core/qgspallabeling.sip‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ class QgsPalLayerSettings
460460
int mFeatsSendingToPal; // total features tested for sending into PAL (relative to maxNumLabels)
461461
int mFeatsRegPal; // number of features registered in PAL, when using limitNumLabels
462462

463+
static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;
464+
463465
};
464466

465467
class QgsLabelCandidate

‎python/core/symbology-ng/qgs25drenderer.sip‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Qgs25DRenderer : QgsFeatureRenderer
6767
/**
6868
* Get wall shading enabled
6969
*/
70-
bool wallShadingEnabled();
70+
bool wallShadingEnabled() const;
7171

7272
/**
7373
* Get the shadow's color

‎python/core/symbology-ng/qgssymbollayer.sip‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ class QgsSymbolLayer
122122
PropertyArrowType, //!< Arrow type
123123
};
124124

125+
static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;
126+
125127
virtual ~QgsSymbolLayer();
126128

127129
/**

0 commit comments

Comments
 (0)