Skip to content

Commit

Permalink
add shape methods to composerview sip
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12910 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Feb 9, 2010
1 parent 1b18395 commit edbd74b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/gui/qgscomposerview.sip
Expand Up @@ -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)
};

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

0 comments on commit edbd74b

Please sign in to comment.