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
qgsnewhttpconnection.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsnewhttpconnection.cpp - selector for a new HTTP server for WMS, etc.
3
-------------------
4
begin : 3 April 2005
5
copyright : (C) 2005 by Brendan Morley
6
email : morb at ozemail dot com dot au
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
#ifndef QGSNEWHTTPCONNECTION_H
18
#define QGSNEWHTTPCONNECTION_H
19
#include "ui_qgsnewhttpconnectionbase.h"
20
#include "
qgisgui.h
"
21
#include "
qgscontexthelp.h
"
22
#include "
qgsauthconfigselect.h
"
23
28
class
GUI_EXPORT
QgsNewHttpConnection
:
public
QDialog
,
private
Ui::QgsNewHttpConnectionBase
29
{
30
Q_OBJECT
31
32
public
:
34
QgsNewHttpConnection
(
QWidget
*parent =
nullptr
,
const
QString
& baseKey =
"/Qgis/connections-wms/"
,
const
QString
& connName = QString::null,
const
Qt::WindowFlags
& fl =
QgisGui::ModalDialogFlags
);
36
~
QgsNewHttpConnection
();
37
public
slots:
39
void
accept
()
override
;
40
41
void
on_txtName_textChanged(
const
QString
& );
42
43
void
on_txtUrl_textChanged(
const
QString
& );
44
45
void
on_buttonBox_helpRequested
() {
QgsContextHelp::run
(
metaObject
()->
className
() ); }
46
47
private
:
48
QString
mBaseKey;
49
QString
mCredentialsBaseKey;
50
QString
mOriginalConnName;
//store initial name to delete entry in case of rename
51
QgsAuthConfigSelect
* mAuthConfigSelect;
52
};
53
54
#endif // QGSNEWHTTPCONNECTION_H
QObject::className
const char * className() const
QgisGui::ModalDialogFlags
static const Qt::WindowFlags ModalDialogFlags
Definition:
qgisgui.h:50
QWidget
qgscontexthelp.h
QObject::metaObject
virtual const QMetaObject * metaObject() const
QgsContextHelp::run
static void run(const QString &context)
Definition:
qgscontexthelp.cpp:31
QString
QDialog::accept
virtual void accept()
QgsNewHttpConnection::on_buttonBox_helpRequested
void on_buttonBox_helpRequested()
Definition:
qgsnewhttpconnection.h:45
qgsauthconfigselect.h
QDialog
Qt::WindowFlags
typedef WindowFlags
QgsNewHttpConnection
Dialog to allow the user to configure and save connection information for an HTTP Server for WMS...
Definition:
qgsnewhttpconnection.h:28
qgisgui.h
QgsAuthConfigSelect
Selector widget for authentication configs.
Definition:
qgsauthconfigselect.h:29
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13