18 #ifndef QGSGENERICPROJECTIONSELECTOR_H
19 #define QGSGENERICPROJECTIONSELECTOR_H
20 #include "ui_qgsgenericprojectionselectorbase.h"
30 class QDialogButtonBox;
60 void setMessage(
const QString &message );
67 void setShowNoCrs(
bool show );
74 bool showNoCrs()
const;
83 void setNotSetText(
const QString &text,
const QString &description = QString() );
88 bool hasValidSelection()
const;
110 void setOgcWmsCrsFilter(
const QSet<QString> &crsFilter );
127 void hasValidSelectionChanged(
bool isValid );
141 bool mShowNoCrsOption =
false;
142 bool mDeferredInvalidCrsSet =
false;
143 int mBlockSignals = 0;
179 Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
193 void setMessage(
const QString &message );
201 void showNoCrsForLayerMessage();
209 void setShowNoProjection(
bool show );
217 bool showNoProjection()
const;
228 void setNotSetText(
const QString &text,
const QString &description = QString() );
236 void setRequireValidSelection();
243 bool hasValidSelection()
const;
266 void setOgcWmsCrsFilter(
const QSet<QString> &crsFilter );
274 QDialogButtonBox *mButtonBox =
nullptr;
277 bool mRequireValidSelection =
false;
280 #endif // #ifndef QGSLAYERCRSSELECTOR_H