Quantum GIS API Documentation  1.8
src/gui/qgsgenericprojectionselector.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           qgsgenericprojectionselector.h
00003                 Set user defined projection using projection selector widget
00004                              -------------------
00005     begin                : May 28, 2004
00006     copyright            : (C) 2004 by Gary E.Sherman
00007     email                : sherman at mrcc.com
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 #ifndef QGSGENERICPROJECTIONSELECTOR_H
00019 #define QGSGENERICPROJECTIONSELECTOR_H
00020 #include <ui_qgsgenericprojectionselectorbase.h>
00021 #include <qgisgui.h>
00022 
00023 #include <QSet>
00024 
00045 class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsGenericProjectionSelectorBase
00046 {
00047     Q_OBJECT
00048   public:
00052     QgsGenericProjectionSelector( QWidget *parent = 0,
00053                                   Qt::WFlags fl = QgisGui::ModalDialogFlags );
00054 
00056     ~QgsGenericProjectionSelector();
00057 
00058   public slots:
00062     void setMessage( QString theMessage = "" );
00063     long selectedCrsId();
00064     QString selectedAuthId();
00065 
00066     Q_DECL_DEPRECATED QString selectedProj4String();
00067     Q_DECL_DEPRECATED long selectedEpsg();
00068 
00069     void setSelectedCrsName( QString theName );
00070     void setSelectedCrsId( long theID );
00071     void setSelectedAuthId( QString authId );
00072 
00073     Q_DECL_DEPRECATED void setSelectedEpsg( long theID );
00074 
00087     void setOgcWmsCrsFilter( QSet<QString> crsFilter );
00088 
00089 
00090 };
00091 
00092 #endif // #ifndef QGSLAYERCRSSELECTOR_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines