Skip to content
Permalink
Browse files

Python bindings update for composer map and picture

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11895 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Nov 2, 2009
1 parent 3fdf005 commit db9aede04578f6e973fd38a238cb99eeb9ee45ef
Showing with 10 additions and 0 deletions.
  1. +2 −0 python/core/qgscomposermap.sip
  2. +8 −0 python/core/qgscomposerpicture.sip
@@ -231,4 +231,6 @@ class QgsComposerMap : QObject, QgsComposerItem
signals:
/**Is emitted when width/height is changed as a result of user interaction*/
void extentChanged();
/**Is emitted on rotation change to notify north arrow pictures*/
void rotationChanged( double newRotation );
};
@@ -38,6 +38,14 @@ class QgsComposerPicture: QObject, QgsComposerItem
*/
bool readXML( const QDomElement& itemElem, const QDomDocument& doc );

/**Sets the map object for rotation (by id). A value of -1 disables the map rotation*/
void setRotationMap( int composerMapId );
/**Returns the id of the rotation map*/
int rotationMap() const;
/**True if the rotation is taken from a map item*/
bool useRotationMap() const;


signals:
/**Tell the configuration widget that the settings need to be updated*/
void settingsChanged();

0 comments on commit db9aede

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