[QGIS Commit] r11895 - trunk/qgis/python/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Nov 2 12:27:13 EST 2009
Author: mhugent
Date: 2009-11-02 12:27:13 -0500 (Mon, 02 Nov 2009)
New Revision: 11895
Modified:
trunk/qgis/python/core/qgscomposermap.sip
trunk/qgis/python/core/qgscomposerpicture.sip
Log:
Python bindings update for composer map and picture
Modified: trunk/qgis/python/core/qgscomposermap.sip
===================================================================
--- trunk/qgis/python/core/qgscomposermap.sip 2009-11-02 17:26:17 UTC (rev 11894)
+++ trunk/qgis/python/core/qgscomposermap.sip 2009-11-02 17:27:13 UTC (rev 11895)
@@ -231,4 +231,6 @@
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 );
};
Modified: trunk/qgis/python/core/qgscomposerpicture.sip
===================================================================
--- trunk/qgis/python/core/qgscomposerpicture.sip 2009-11-02 17:26:17 UTC (rev 11894)
+++ trunk/qgis/python/core/qgscomposerpicture.sip 2009-11-02 17:27:13 UTC (rev 11895)
@@ -38,6 +38,14 @@
*/
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();
More information about the QGIS-commit
mailing list