QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | List of all members
QgsDatumTransformDialog Class Reference

#include <qgsdatumtransformdialog.h>

Inheritance diagram for QgsDatumTransformDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsDatumTransformDialog (const QgsCoordinateReferenceSystem &sourceCrs=QgsCoordinateReferenceSystem(), const QgsCoordinateReferenceSystem &destinationCrs=QgsCoordinateReferenceSystem(), QPair< int, int > selectedDatumTransforms=qMakePair(-1, -1), QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 Constructor for QgsDatumTransformDialog. More...
 
 ~QgsDatumTransformDialog () override
 
int availableTransformationCount ()
 Returns the number of possible datum transformation for currently selected source and destination CRS. More...
 
QPair< QPair< QgsCoordinateReferenceSystem, int >, QPair< QgsCoordinateReferenceSystem, int > > selectedDatumTransforms ()
 Returns the source and destination transforms, each being a pair of QgsCoordinateReferenceSystems and datum transform code. More...
 

Detailed Description

Note
not available in Python bindings

Definition at line 33 of file qgsdatumtransformdialog.h.

Constructor & Destructor Documentation

◆ QgsDatumTransformDialog()

QgsDatumTransformDialog::QgsDatumTransformDialog ( const QgsCoordinateReferenceSystem sourceCrs = QgsCoordinateReferenceSystem(),
const QgsCoordinateReferenceSystem destinationCrs = QgsCoordinateReferenceSystem(),
QPair< int, int >  selectedDatumTransforms = qMakePair( -1, -1 ),
QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

Constructor for QgsDatumTransformDialog.

Definition at line 28 of file qgsdatumtransformdialog.cpp.

◆ ~QgsDatumTransformDialog()

QgsDatumTransformDialog::~QgsDatumTransformDialog ( )
override

Definition at line 164 of file qgsdatumtransformdialog.cpp.

Member Function Documentation

◆ availableTransformationCount()

int QgsDatumTransformDialog::availableTransformationCount ( )

Returns the number of possible datum transformation for currently selected source and destination CRS.

Since
3.0

Definition at line 178 of file qgsdatumtransformdialog.cpp.

◆ selectedDatumTransforms()

QPair< QPair< QgsCoordinateReferenceSystem, int >, QPair< QgsCoordinateReferenceSystem, int > > QgsDatumTransformDialog::selectedDatumTransforms ( )

Returns the source and destination transforms, each being a pair of QgsCoordinateReferenceSystems and datum transform code.

Since
3.0

Definition at line 184 of file qgsdatumtransformdialog.cpp.


The documentation for this class was generated from the following files: