Skip to content

Commit 7a349a9

Browse files
committed
Python bindings for overview map frame
1 parent 4fb64be commit 7a349a9

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

python/core/qgscomposermap.sip

+7
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,13 @@ class QgsComposerMap : QgsComposerItem
254254

255255
void updateItem();
256256

257+
/**Sets overview frame map. -1 disables the overview frame
258+
@note: this function was added in version 1.9*/
259+
void setOverviewFrameMap( int mapId );
260+
/**Returns id of overview frame (or -1 if no overfiew frame)
261+
@note: this function was added in version 1.9*/
262+
int overviewFrameMapId() const;
263+
257264
public slots:
258265

259266
/**Called if map canvas has changed*/

src/core/composer/qgscomposermap.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,11 @@ class CORE_EXPORT QgsComposerMap : public QgsComposerItem
289289
/**Returns the conversion factor map units -> mm*/
290290
double mapUnitsToMM() const;
291291

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

297299
signals:

0 commit comments

Comments
 (0)