[QGIS Commit] r12910 - trunk/qgis/python/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Feb 9 11:18:37 EST 2010


Author: mhugent
Date: 2010-02-09 11:18:36 -0500 (Tue, 09 Feb 2010)
New Revision: 12910

Modified:
   trunk/qgis/python/gui/qgscomposerview.sip
Log:
add shape methods to composerview sip

Modified: trunk/qgis/python/gui/qgscomposerview.sip
===================================================================
--- trunk/qgis/python/gui/qgscomposerview.sip	2010-02-09 16:11:01 UTC (rev 12909)
+++ trunk/qgis/python/gui/qgscomposerview.sip	2010-02-09 16:18:36 UTC (rev 12910)
@@ -22,6 +22,7 @@
       AddLabel,        // add label
       AddScalebar,     // add scalebar
       AddPicture,       // add raster/vector picture
+      AddShape, //add shape item (ellipse, rectangle, triangle)
       MoveItemContent //move content of item (e.g. content of map)
     };
 
@@ -51,6 +52,8 @@
     void addComposerLegend( QgsComposerLegend* legend );
     /**Adds picture to the graphics scene and advices composer to create a widget for it (through signal)*/
     void addComposerPicture( QgsComposerPicture* picture );
+    /**Adds a composer shape to the graphics scene and advices composer to create a widget for it (through signal)*/
+    void addComposerShape( QgsComposerShape* shape );
 
     /**Returns the composer main window*/
     QMainWindow* composerWindow();



More information about the QGIS-commit mailing list