Skip to content
Permalink
Browse files

Add missing sip changes

  • Loading branch information
nyalldawson committed Aug 22, 2015
1 parent 57669e7 commit f5de32779f2e1c97478de58f3462ce5331e1f7f3
Showing with 9 additions and 2 deletions.
  1. +9 −2 python/core/composer/qgscomposerlabel.sip
@@ -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 );

0 comments on commit f5de327

Please sign in to comment.
You can’t perform that action at this time.