17 #ifndef QGSPROJECTIONSELECTIONWIDGET_H 
   18 #define QGSPROJECTIONSELECTIONWIDGET_H 
   23 #include <QToolButton> 
   73     void setOptionVisible( CrsOption option, 
bool visible );
 
   80     bool optionVisible( CrsOption option ) 
const;
 
   87     void setNotSetText( 
const QString &text );
 
   95     void setMessage( 
const QString &text );
 
  112     bool showAccuracyWarnings() 
const;
 
  121     void setShowAccuracyWarnings( 
bool show );
 
  132     void setSourceEnsemble( 
const QString &ensemble );
 
  143     QString sourceEnsemble() 
const;
 
  150     void setDialogTitle( 
const QString &title );
 
  157     QString dialogTitle() 
const;
 
  194     void dragEnterEvent( QDragEnterEvent *event ) 
override;
 
  195     void dragLeaveEvent( QDragLeaveEvent *event ) 
override;
 
  196     void dropEvent( QDropEvent *event ) 
override;
 
  205     QToolButton *mButton = 
nullptr;
 
  209     bool mShowAccuracyWarnings = 
false;
 
  210     QString mSourceEnsemble;
 
  212     QWidget *mWarningLabelContainer = 
nullptr;
 
  213     QLabel *mWarningLabel = 
nullptr;
 
  215     QPointer< QgsCrsSelectionWidget > mActivePanel;
 
  216     int mIgnorePanelSignals = 0;
 
  218     QString mDialogTitle;
 
  220     void addNotSetOption();
 
  221     void addProjectCrsOption();
 
  222     void addDefaultCrsOption();
 
  223     void addCurrentCrsOption();
 
  226     bool crsIsShown( 
long srsid ) 
const;
 
  228     int firstRecentCrsIndex() 
const;
 
  229     void updateTooltip();
 
  231     QgsMapLayer *mapLayerFromMimeData( 
const QMimeData *data ) 
const;
 
  235     void comboIndexChanged( 
int idx );
 
  236     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.
 
const QgsCoordinateReferenceSystem & crs