Skip to content
Browse files

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 f71a357 commit f4b1efd0a0b99442b494e4cedaf5c434f4d5cdad
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
/**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;

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

0 comments on commit f4b1efd

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