QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
i
l
m
n
o
p
s
t
+
Functions
a
b
c
d
f
g
i
l
m
n
o
p
t
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
2
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
2
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
+
Related Functions
a
c
d
e
f
g
l
n
o
p
q
r
s
t
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Variables
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
+
Macros
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
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
#ifndef QGSGENERICPROJECTIONSELECTOR_H
19
#define QGSGENERICPROJECTIONSELECTOR_H
20
#include <ui_qgsgenericprojectionselectorbase.h>
21
#include <
qgisgui.h
>
22
23
#include <QSet>
24
25
#include "
qgscontexthelp.h
"
26
47
class
GUI_EXPORT
QgsGenericProjectionSelector
:
public
QDialog
,
private
Ui::QgsGenericProjectionSelectorBase
48
{
49
Q_OBJECT
50
public
:
54
QgsGenericProjectionSelector
(
QWidget
*parent =
nullptr
,
55
const
Qt::WindowFlags
& fl =
QgisGui::ModalDialogFlags
);
56
58
~
QgsGenericProjectionSelector
();
59
60
public
slots:
64
void
setMessage(
QString
theMessage =
""
);
65
long
selectedCrsId();
66
QString
selectedAuthId();
67
68
void
setSelectedCrsName(
const
QString
& theName );
69
void
setSelectedCrsId(
long
theID );
70
void
setSelectedAuthId(
const
QString
& authId );
71
72
void
on_mButtonBox_helpRequested
() {
QgsContextHelp::run
(
metaObject
()->
className
() ); }
73
86
void
setOgcWmsCrsFilter(
const
QSet<QString>
& crsFilter );
87
};
88
89
#endif // #ifndef QGSLAYERCRSSELECTOR_H
QObject::className
const char * className() const
QgisGui::ModalDialogFlags
static const Qt::WindowFlags ModalDialogFlags
Definition:
qgisgui.h:50
QWidget
qgscontexthelp.h
QgsGenericProjectionSelector
A generic dialog to prompt the user for a Coordinate Reference System.
Definition:
qgsgenericprojectionselector.h:47
QObject::metaObject
virtual const QMetaObject * metaObject() const
QgsContextHelp::run
static void run(const QString &context)
Definition:
qgscontexthelp.cpp:31
QgsGenericProjectionSelector::on_mButtonBox_helpRequested
void on_mButtonBox_helpRequested()
Definition:
qgsgenericprojectionselector.h:72
QSet< QString >
QString
QDialog
Qt::WindowFlags
typedef WindowFlags
qgisgui.h
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13