mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -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;
|
QgsRectangle outputExtent() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Returns the extent shown in the widget - in output CRS coordinates.
|
Returns the extent shown in the widget - in output CRS coordinates.
|
||||||
|
.. seealso:: :py:func:`outputCrs`
|
||||||
:rtype: QgsRectangle
|
:rtype: QgsRectangle
|
||||||
%End
|
%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;
|
QgsExtentGroupBox::ExtentState extentState() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
Returns the currently selected state for the widget's extent.
|
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.
|
* Returns the extent shown in the widget - in output CRS coordinates.
|
||||||
|
* \see outputCrs
|
||||||
*/
|
*/
|
||||||
QgsRectangle outputExtent() const;
|
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.
|
* Returns the currently selected state for the widget's extent.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user