45 int sourceTransformId = -1;
51 int destinationTransformId = -1;
57 bool allowFallback =
true;
81 QgsDatumTransformDialog(
const QgsCoordinateReferenceSystem &sourceCrs =
QgsCoordinateReferenceSystem(),
const QgsCoordinateReferenceSystem &destinationCrs =
QgsCoordinateReferenceSystem(),
bool allowCrsChanges =
false,
bool showMakeDefault =
true,
bool forceChoice =
true, QPair<int, int> selectedDatumTransforms = qMakePair( -1, -1 ), QWidget *parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags(),
const QString &selectedProj = QString(),
QgsMapCanvas *mapCanvas =
nullptr,
bool allowFallback =
true );
83 void accept()
override;
84 void reject()
override;
93 void operationChanged();
100 TransformIdRole = Qt::UserRole + 1,
106 bool gridShiftTransformation(
const QString &itemText )
const;
108 void setOKButtonEnabled();
115 bool shouldAskUserForSelection()
const;
124 TransformInfo defaultDatumTransform()
const;
129 void applyDefaultTransform();
131 std::unique_ptr<QgsTemporaryCursorRestoreOverride> mPreviousCursorOverride;
133 friend class TestQgsDatumTransformDialog;