16 #ifndef QGSEXTENTGROUPBOX_H 
   17 #define QGSEXTENTGROUPBOX_H 
   50     Q_PROPERTY( QString titleBase READ titleBase WRITE setTitleBase )
 
  146     void setTitleBase( 
const QString &title );
 
  153     QString titleBase() 
const;
 
  161     void setMapCanvas( 
QgsMapCanvas *canvas, 
bool drawOnCanvasOption = 
true );
 
  175     void setOutputExtentFromOriginal();
 
  180     void setOutputExtentFromCurrent();
 
  191     void setOutputExtentFromLayer( 
const QgsMapLayer *layer );
 
  197     void setOutputExtentFromDrawOnCanvas();
 
  205     void setRatio( QSize ratio );
 
  216     void groupBoxClicked();
 
  218     void widgetExtentChanged();
 
  220     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