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 );
This class represents a coordinate reference system (CRS).
A QComboBox subclass with the ability to "highlight" the edges of the widget.
Base class for all map layer types.
A generic dialog to prompt the user for a Coordinate Reference System.
const QgsCoordinateReferenceSystem & crs