mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
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:
parent
64b68ae565
commit
29e02fca83
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user