Skip to content


Browse files Browse the repository at this point in the history
Python bindings update for composer map and picture
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 2, 2009
1 parent 3fdf005 commit db9aede
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/qgscomposermap.sip
Expand Up @@ -231,4 +231,6 @@ class QgsComposerMap : QObject, QgsComposerItem
/**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 );
8 changes: 8 additions & 0 deletions python/core/qgscomposerpicture.sip
Expand Up @@ -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;

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

0 comments on commit db9aede

Please sign in to comment.