/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/gui/proj/qgscoordinateboundspreviewmapwidget.h                   *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/




class QgsCoordinateBoundsPreviewMapWidget : QgsMapCanvas
{
%Docstring(signature="appended")
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/proj/qgscoordinateboundspreviewmapwidget.h                   *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 ************************************************************************/
