[SCM] qgis branch, master, updated. a2ee769957385f4e084c5e8b6ba178a8c877d1db

Tim Sutton tim at linfiniti.com
Tue Mar 20 13:42:35 UTC 2012


The following commit has been merged in the master branch:
commit 1a78f0b15a1c343009b015b009a21374b1c1482b
Author: Tim Sutton <tim at linfiniti.com>
Date:   Fri Mar 2 08:14:26 2012 +0200

    [BACKPORT] added more missing python bindings for composer api

diff --git a/python/core/qgscomposershape.sip b/python/core/qgscomposershape.sip
index 9accd99..35ce8fb 100644
--- a/python/core/qgscomposershape.sip
+++ b/python/core/qgscomposershape.sip
@@ -43,4 +43,13 @@ class QgsComposerShape: QgsComposerItem
     QColor fillColor() const;
     QgsComposerShape::Shape shapeType() const;
     void setShapeType( QgsComposerShape::Shape s );
+    bool transparentFill() const;
+    void setTransparentFill( bool transparent );
+
+    /**Sets this items bound in scene coordinates such that 1 item size units
+     corresponds to 1 scene size unit. Also, the shape is scaled*/
+    void setSceneRect( const QRectF& rectangle );
+  public slots:
+    /**Sets item rotation and resizes item bounds such that the shape always has the same size*/
+    virtual void setRotation( double r );
 }; 

-- 
The Quantum GIS in Debian project



More information about the Pkg-grass-devel mailing list