17 #ifndef QGSPROJECTIONSELECTIONWIDGET_H
18 #define QGSPROJECTIONSELECTIONWIDGET_H
23 #include <QToolButton>
71 void setOptionVisible( CrsOption option,
bool visible );
78 bool optionVisible( CrsOption option )
const;
85 void setNotSetText(
const QString &text );
93 void setMessage(
const QString &text );
138 void dragEnterEvent( QDragEnterEvent *event )
override;
139 void dragLeaveEvent( QDragLeaveEvent *event )
override;
140 void dropEvent( QDropEvent *event )
override;
149 QToolButton *mButton =
nullptr;
154 void addNotSetOption();
155 void addProjectCrsOption();
156 void addDefaultCrsOption();
157 void addCurrentCrsOption();
160 bool crsIsShown(
long srsid )
const;
162 int firstRecentCrsIndex()
const;
163 void updateTooltip();
165 QgsMapLayer *mapLayerFromMimeData(
const QMimeData *data )
const;
169 void comboIndexChanged(
int idx );
173 #endif // QGSPROJECTIONSELECTIONWIDGET_H