mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
getter for the output crs in QgsExtentGroupBox
This commit is contained in:
parent
bbf00279ad
commit
ff15896c30
@ -103,9 +103,18 @@ class QgsExtentGroupBox : QgsCollapsibleGroupBox
|
||||
QgsRectangle outputExtent() const;
|
||||
%Docstring
|
||||
Returns the extent shown in the widget - in output CRS coordinates.
|
||||
.. seealso:: :py:func:`outputCrs`
|
||||
:rtype: QgsRectangle
|
||||
%End
|
||||
|
||||
QgsCoordinateReferenceSystem outputCrs() const;
|
||||
%Docstring
|
||||
Returns the current output CRS, used in the display.
|
||||
.. seealso:: :py:func:`outputExtent`
|
||||
.. versionadded:: 3.0
|
||||
:rtype: QgsCoordinateReferenceSystem
|
||||
%End
|
||||
|
||||
QgsExtentGroupBox::ExtentState extentState() const;
|
||||
%Docstring
|
||||
Returns the currently selected state for the widget's extent.
|
||||
|
@ -120,9 +120,17 @@ class GUI_EXPORT QgsExtentGroupBox : public QgsCollapsibleGroupBox, private Ui::
|
||||
|
||||
/**
|
||||
* Returns the extent shown in the widget - in output CRS coordinates.
|
||||
* \see outputCrs
|
||||
*/
|
||||
QgsRectangle outputExtent() const;
|
||||
|
||||
/**
|
||||
* Returns the current output CRS, used in the display.
|
||||
* \see outputExtent
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
QgsCoordinateReferenceSystem outputCrs() const { return mOutputCrs; }
|
||||
|
||||
/**
|
||||
* Returns the currently selected state for the widget's extent.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user