Python bindings update for composer map and picture

git-svn-id: http://svn.osgeo.org/qgis/trunk@11895 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2009-11-02 17:27:13 +00:00
parent f71a3579d1
commit f4b1efd0a0
2 changed files with 10 additions and 0 deletions

View File

@ -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 );
};

View File

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