Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qgsgenericprojectionselector.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsgenericprojectionselector.h
3  Set user defined projection using projection selector widget
4  -------------------
5  begin : May 28, 2004
6  copyright : (C) 2004 by Gary E.Sherman
7  email : sherman at mrcc.com
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 /* $Id$ */
19 #ifndef QGSGENERICPROJECTIONSELECTOR_H
20 #define QGSGENERICPROJECTIONSELECTOR_H
21 #include <ui_qgsgenericprojectionselectorbase.h>
22 #include <qgisgui.h>
23 
24 #include <QSet>
25 
46 class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsGenericProjectionSelectorBase
47 {
48  Q_OBJECT
49  public:
53  QgsGenericProjectionSelector( QWidget *parent = 0,
54  Qt::WFlags fl = QgisGui::ModalDialogFlags );
55 
58 
59  public slots:
63  void setMessage( QString theMessage = "" );
64  long selectedCrsId();
65  QString selectedAuthId();
66 
67  Q_DECL_DEPRECATED QString selectedProj4String();
68  Q_DECL_DEPRECATED long selectedEpsg();
69 
70  void setSelectedCrsName( QString theName );
71  void setSelectedCrsId( long theID );
72  void setSelectedAuthId( QString authId );
73 
74  Q_DECL_DEPRECATED void setSelectedEpsg( long theID );
75 
88  void setOgcWmsCrsFilter( QSet<QString> crsFilter );
89 
90 
91 };
92 
93 #endif // #ifndef QGSLAYERCRSSELECTOR_H