Skip to content
Permalink
Browse files

add shape methods to composerview sip

git-svn-id: http://svn.osgeo.org/qgis/trunk@12910 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Feb 9, 2010
1 parent 64b68ae commit 29e02fca832e9ce38ff85e513de4fc109502bad7
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/gui/qgscomposerview.sip
@@ -22,6 +22,7 @@ class QgsComposerView: QGraphicsView
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 @@ class QgsComposerView: QGraphicsView
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();

0 comments on commit 29e02fc

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