16#ifndef QGSEXTENTGROUPBOX_H 
   17#define QGSEXTENTGROUPBOX_H 
   49    Q_PROPERTY( QString titleBase READ titleBase WRITE setTitleBase )
 
  143    void setTitleBase( 
const QString &title );
 
  149    QString titleBase() 
const;
 
  156    void setMapCanvas( 
QgsMapCanvas *canvas, 
bool drawOnCanvasOption = 
true );
 
  169    void setOutputExtentFromOriginal();
 
  174    void setOutputExtentFromCurrent();
 
  184    void setOutputExtentFromLayer( 
const QgsMapLayer *layer );
 
  189    void setOutputExtentFromDrawOnCanvas();
 
  196    void setRatio( QSize ratio );
 
  207    void groupBoxClicked();
 
  209    void widgetExtentChanged();
 
  211    void validationChanged( 
bool valid );
 
 
A groupbox that collapses/expands when toggled and can save its collapsed and checked states.
 
This class represents a coordinate reference system (CRS).
 
Collapsible group box for configuration of extent, typically for a save operation.
 
ExtentState
Available states for the current extent selection in the widget.
 
@ UserExtent
Extent manually entered/modified by the user.
 
@ CurrentExtent
Map canvas extent.
 
@ ProjectLayerExtent
Extent taken from a layer within the project.
 
@ DrawOnCanvas
Extent taken from a rectangled drawn onto the map canvas.
 
@ OriginalExtent
Layer's extent.
 
void extentChanged(const QgsRectangle &r)
Emitted when the widget's extent is changed.
 
Map canvas is a class for displaying all GIS data types on a canvas.
 
Base class for all map layer types.
 
A rectangle specified with double values.
 
const QgsCoordinateReferenceSystem & outputCrs
 
const QgsCoordinateReferenceSystem & crs