Skip to content
Permalink
Browse files

Python bindings for overview map frame

  • Loading branch information
mhugent committed Jul 10, 2012
1 parent 4fb64be commit 7a349a9240606e7d2b13e0fc8533aa9e0f777a8e
Showing with 11 additions and 2 deletions.
  1. +7 −0 python/core/qgscomposermap.sip
  2. +4 −2 src/core/composer/qgscomposermap.h
@@ -254,6 +254,13 @@ class QgsComposerMap : QgsComposerItem

void updateItem();

/**Sets overview frame map. -1 disables the overview frame
@note: this function was added in version 1.9*/
void setOverviewFrameMap( int mapId );
/**Returns id of overview frame (or -1 if no overfiew frame)
@note: this function was added in version 1.9*/
int overviewFrameMapId() const;

public slots:

/**Called if map canvas has changed*/
@@ -289,9 +289,11 @@ class CORE_EXPORT QgsComposerMap : public QgsComposerItem
/**Returns the conversion factor map units -> mm*/
double mapUnitsToMM() const;

/**Sets overview frame map. -1 disables the overview frame*/
/**Sets overview frame map. -1 disables the overview frame
@note: this function was added in version 1.9*/
void setOverviewFrameMap( int mapId );
/**Returns id of overview frame (or -1 if no overfiew frame)*/
/**Returns id of overview frame (or -1 if no overfiew frame)
@note: this function was added in version 1.9*/
int overviewFrameMapId() const { return mOverviewFrameMapId; }

signals:

0 comments on commit 7a349a9

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