16#ifndef QGSEXTENTGROUPBOX_H 
   17#define QGSEXTENTGROUPBOX_H 
   47    Q_PROPERTY( QString titleBase READ titleBase WRITE setTitleBase )
 
  140    void setTitleBase( 
const QString &title );
 
  146    QString titleBase() 
const;
 
  153    void setMapCanvas( 
QgsMapCanvas *canvas, 
bool drawOnCanvasOption = 
true );
 
  166    void setOutputExtentFromOriginal();
 
  171    void setOutputExtentFromCurrent();
 
  181    void setOutputExtentFromLayer( 
const QgsMapLayer *layer );
 
  186    void setOutputExtentFromDrawOnCanvas();
 
  193    void setRatio( QSize ratio );
 
  210    void groupBoxClicked();
 
  212    void widgetExtentChanged();
 
  214    void validationChanged( 
bool valid );
 
 
A groupbox that collapses/expands when toggled and can save its collapsed and checked states.
 
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 extentLayerChanged(QgsMapLayer *layer)
Emitted when the extent layer is changed.
 
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