mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
f71a3579d1
commit
f4b1efd0a0
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user