00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef QGSGENERICPROJECTIONSELECTOR_H
00020 #define QGSGENERICPROJECTIONSELECTOR_H
00021 #include <ui_qgsgenericprojectionselectorbase.h>
00022 #include <qgisgui.h>
00023
00024 #include <QSet>
00025
00046 class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsGenericProjectionSelectorBase
00047 {
00048 Q_OBJECT
00049 public:
00053 QgsGenericProjectionSelector( QWidget *parent = 0,
00054 Qt::WFlags fl = QgisGui::ModalDialogFlags );
00055
00057 ~QgsGenericProjectionSelector();
00058
00059 public slots:
00063 void setMessage( QString theMessage = "" );
00064 QString selectedProj4String();
00065 long selectedCrsId();
00066 QString selectedAuthId();
00067 long selectedEpsg();
00068
00069 void setSelectedCrsName( QString theName );
00070 void setSelectedCrsId( long theID );
00071 void setSelectedAuthId( QString authId );
00072 void setSelectedEpsg( long theID );
00073
00086 void setOgcWmsCrsFilter( QSet<QString> crsFilter );
00087
00088
00089 };
00090
00091 #endif // #ifndef QGSLAYERCRSSELECTOR_H