Skip to content

Commit

Permalink
SIP sync
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 23, 2017
1 parent e06192e commit 39b89d1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions python/core/composer/qgscomposerobject.sip
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ class QgsComposerObject : QObject, QgsExpressionContextGenerator
//legend item
LegendTitle, //!< Legend title
LegendColumnCount, //!< Legend column count
ScalebarFillColor, //!< Scalebar fill color
ScalebarFillColor2, //!< Scalebar secondary fill color
ScalebarLineColor, //!< Scalebar line color
ScalebarLineWidth, //!< Scalebar line width
};

static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;

/** Specifies whether the value returned by a function should be the original, user
* set value, or the current evaluated value for the property. This may differ if
* a property has a data defined expression active.
Expand Down
1 change: 1 addition & 0 deletions python/core/composer/qgscomposerscalebar.sip
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ class QgsComposerScaleBar: QgsComposerItem
void updateSegmentSize();
/** Sets mCompositionMap to 0 if the map is deleted*/
void invalidateCurrentMap();
virtual void refreshDataDefinedProperty( const QgsComposerObject::DataDefinedProperty property = QgsComposerObject::AllProperties, const QgsExpressionContext* context = nullptr );

protected:
/** Calculates with of a segment in mm and stores it in mSegmentMillimeters*/
Expand Down
2 changes: 2 additions & 0 deletions python/core/qgsdiagramrenderer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ class QgsDiagramLayerSettings

void setDataDefinedProperties( const QgsPropertyCollection& collection );

static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;

};

/** \ingroup core
Expand Down
2 changes: 2 additions & 0 deletions python/core/qgspallabeling.sip
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ class QgsPalLayerSettings
int mFeatsSendingToPal; // total features tested for sending into PAL (relative to maxNumLabels)
int mFeatsRegPal; // number of features registered in PAL, when using limitNumLabels

static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;

};

class QgsLabelCandidate
Expand Down
2 changes: 1 addition & 1 deletion python/core/symbology-ng/qgs25drenderer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Qgs25DRenderer : QgsFeatureRenderer
/**
* Get wall shading enabled
*/
bool wallShadingEnabled();
bool wallShadingEnabled() const;

/**
* Get the shadow's color
Expand Down
2 changes: 2 additions & 0 deletions python/core/symbology-ng/qgssymbollayer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class QgsSymbolLayer
PropertyArrowType, //!< Arrow type
};

static const QgsPropertiesDefinition PROPERTY_DEFINITIONS;

virtual ~QgsSymbolLayer();

/**
Expand Down

0 comments on commit 39b89d1

Please sign in to comment.