Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing sip changes
  • Loading branch information
nyalldawson committed Aug 22, 2015
1 parent 57669e7 commit f5de327
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions python/core/composer/qgscomposerlabel.sip
Expand Up @@ -28,8 +28,15 @@ class QgsComposerLabel : QgsComposerItem
/** Returns the text as it appears on screen (with replaced data field) */
QString displayText() const;

/** Sets the current feature, the current layer and a list of local variable substitutions for evaluating expressions */
void setExpressionContext( QgsFeature* feature, QgsVectorLayer* layer, QMap<QString, QVariant> substitutions = QMap<QString, QVariant>() );
/** Sets the current feature, the current layer and a list of local variable substitutions for evaluating expressions
* @deprecated use atlas features and setSubstitutions() instead
*/
void setExpressionContext( QgsFeature* feature, QgsVectorLayer* layer, QMap<QString, QVariant> substitutions = QMap<QString, QVariant>() ) /Deprecated/;

/** Sets the list of local variable substitutions for evaluating expressions in label text.
* @note added in QGIS 2.12
*/
void setSubstitutions( QMap<QString, QVariant> substitutions = QMap<QString, QVariant>() );

QFont font() const;
void setFont( const QFont& f );
Expand Down

0 comments on commit f5de327

Please sign in to comment.