17 #ifndef QGSPROJECTIONSELECTIONWIDGET_H 
   18 #define QGSPROJECTIONSELECTIONWIDGET_H 
   23 #include <QToolButton> 
   72     void setOptionVisible( CrsOption option, 
bool visible );
 
   79     bool optionVisible( CrsOption option ) 
const;
 
   86     void setNotSetText( 
const QString &text );
 
   94     void setMessage( 
const QString &text );
 
  111     bool showAccuracyWarnings() 
const;
 
  120     void setShowAccuracyWarnings( 
bool show );
 
  131     void setSourceEnsemble( 
const QString &ensemble );
 
  142     QString sourceEnsemble() 
const;
 
  179     void dragEnterEvent( QDragEnterEvent *event ) 
override;
 
  180     void dragLeaveEvent( QDragLeaveEvent *event ) 
override;
 
  181     void dropEvent( QDropEvent *event ) 
override;
 
  190     QToolButton *mButton = 
nullptr;
 
  195     bool mShowAccuracyWarnings = 
false;
 
  196     QString mSourceEnsemble;
 
  198     QWidget *mWarningLabelContainer = 
nullptr;
 
  199     QLabel *mWarningLabel = 
nullptr;
 
  201     void addNotSetOption();
 
  202     void addProjectCrsOption();
 
  203     void addDefaultCrsOption();
 
  204     void addCurrentCrsOption();
 
  207     bool crsIsShown( 
long srsid ) 
const;
 
  209     int firstRecentCrsIndex() 
const;
 
  210     void updateTooltip();
 
  212     QgsMapLayer *mapLayerFromMimeData( 
const QMimeData *data ) 
const;
 
  216     void comboIndexChanged( 
int idx );
 
  217     void updateWarning();
 
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