QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
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
3
_
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
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
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
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
_
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
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
qgsowssourcewidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsowssourcewidget.h
3
--------------------------------------
4
Date : November 2021
5
Copyright : (C) 2021 by Samweli Mwakisambwe
6
Email : samweli at kartoza dot com
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 QGSOWSSOURCEWIDGET_H
18
#define QGSOWSSOURCEWIDGET_H
19
20
#define SIP_NO_FILE
21
22
#include "
qgsprovidersourcewidget.h
"
23
#include "
qgsreadwritecontext.h
"
24
#include "ui_qgsowssourcewidgetbase.h"
25
#include <QVariantMap>
26
34
class
GUI_EXPORT
QgsOWSSourceWidget
:
public
QgsProviderSourceWidget
,
private
Ui::QgsOWSSourceWidgetBase
35
{
36
Q_OBJECT
37
38
public
:
39
43
QgsOWSSourceWidget
(
const
QString &providerKey, QWidget *parent =
nullptr
);
44
45
void
setSourceUri
(
const
QString &uri )
override
;
46
QString
sourceUri
()
const override
;
47
53
void
setExtent(
const
QgsRectangle
&extent );
54
60
QgsRectangle
extent()
const
;
61
62
63
void
setMapCanvas
(
QgsMapCanvas
*canvas )
override
;
64
65
66
private
:
67
68
QVariantMap mSourceParts;
69
const
QString mProviderKey;
70
};
71
72
#endif // QGSOWSSOURCEWIDGET_H
qgsprovidersourcewidget.h
QgsProviderSourceWidget::setMapCanvas
virtual void setMapCanvas(QgsMapCanvas *mapCanvas)
Sets a map canvas associated with the widget.
Definition:
qgsprovidersourcewidget.h:62
qgsreadwritecontext.h
QgsProviderSourceWidget::setSourceUri
virtual void setSourceUri(const QString &uri)=0
Sets the source uri to show in the widget.
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:89
QgsProviderSourceWidget::sourceUri
virtual QString sourceUri() const =0
Returns the source URI as currently defined by the widget.
QgsRectangle
A rectangle specified with double values.
Definition:
qgsrectangle.h:41
QgsProviderSourceWidget
Base class for widgets which allow customization of a provider's source URI.
Definition:
qgsprovidersourcewidget.h:32
QgsOWSSourceWidget
This widget sets and updates OWS layers source URI.
Definition:
qgsowssourcewidget.h:34
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17