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