The following commit has been merged in the master branch:
commit 1a78f0b15a1c343009b015b009a21374b1c1482b
Author: Tim Sutton <t...@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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to