Quantum GIS API Documentation  1.7.4
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 /* $Id$ */
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     long selectedCrsId();
00065     QString selectedAuthId();
00066 
00067     Q_DECL_DEPRECATED QString selectedProj4String();
00068     Q_DECL_DEPRECATED long selectedEpsg();
00069 
00070     void setSelectedCrsName( QString theName );
00071     void setSelectedCrsId( long theID );
00072     void setSelectedAuthId( QString authId );
00073 
00074     Q_DECL_DEPRECATED void setSelectedEpsg( long theID );
00075 
00088     void setOgcWmsCrsFilter( QSet<QString> crsFilter );
00089 
00090 
00091 };
00092 
00093 #endif // #ifndef QGSLAYERCRSSELECTOR_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines