mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgscoordinateboundspreviewmapwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsCoordinateBoundsPreviewMapWidget : QgsMapCanvas
|
|
{
|
|
%Docstring
|
|
A widget for showing the bounds of a rectangular region on an interactive map.
|
|
|
|
.. versionadded:: 3.8.1
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgscoordinateboundspreviewmapwidget.h"
|
|
%End
|
|
public:
|
|
|
|
QgsCoordinateBoundsPreviewMapWidget( QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for QgsCoordinateBoundsPreviewMapWidget.
|
|
%End
|
|
|
|
~QgsCoordinateBoundsPreviewMapWidget();
|
|
|
|
void setCanvasRect( const QgsRectangle &rect );
|
|
%Docstring
|
|
Sets the canvas bounds rectangle for the bounds overview map.
|
|
|
|
Must be in EPSG:4326 coordinate reference system.
|
|
|
|
.. seealso:: :py:func:`canvasRect`
|
|
%End
|
|
|
|
QgsRectangle canvasRect() const;
|
|
%Docstring
|
|
Returns the current canvas bounds rectangle shown in the map.
|
|
|
|
.. seealso:: :py:func:`setCanvasRect`
|
|
%End
|
|
|
|
void setPreviewRect( const QgsRectangle &rect );
|
|
%Docstring
|
|
Sets the "preview" rectangle for the bounds overview map.
|
|
Must be in EPSG:4326 coordinate reference system.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgscoordinateboundspreviewmapwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|