18 #ifndef QGSCOORDINATEOPERATIONWIDGET_H
19 #define QGSCOORDINATEOPERATIONWIDGET_H
21 #include "ui_qgscoordinateoperationwidgetbase.h"
42 int sourceTransformId = -1;
45 int destinationTransformId = -1;
51 bool isAvailable =
true;
54 bool allowFallback =
true;
105 void setShowMakeDefault(
bool show );
110 bool makeDefaultSelected()
const;
115 bool hasSelection()
const;
120 QList< QgsCoordinateOperationWidget::OperationDetails > availableOperations()
const;
152 void setShowFallbackOption(
bool visible );
159 void operationChanged();
164 void operationDoubleClicked();
168 void tableCurrentItemChanged( QTableWidgetItem *, QTableWidgetItem * );
170 void showSupersededToggled(
bool toggled );
178 TransformIdRole = Qt::UserRole + 1,
183 MissingGridPackageNamesRole,
187 bool gridShiftTransformation(
const QString &itemText )
const;
189 bool testGridShiftFileAvailability( QTableWidgetItem *item )
const;
190 void loadAvailableOperations();
195 QString formatScope(
const QString &scope );
197 #if PROJ_VERSION_MAJOR>=6
198 QList< QgsDatumTransform::TransformDetails > mDatumTransforms;
200 QList< QgsDatumTransform::TransformPair > mDatumTransforms;
204 OperationDetails mPreviousOp;
205 int mBlockSignals = 0;
208 #endif // QGSCOORDINATEOPERATIONWIDGET_H