add shape methods to composerview sip

git-svn-id: http://svn.osgeo.org/qgis/trunk@12910 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2010-02-09 16:18:36 +00:00
parent 64b68ae565
commit 29e02fca83

View File

@ -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();