QGIS API Documentation
3.43.0-Master (9e873c7bc91)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
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
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
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 Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
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
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
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
server
services
wms
qgswmsrestorer.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgswmsrestorer.h
3
----------------
4
begin : April 24, 2017
5
copyright : (C) 2017 by Paul Blottiere
6
email : paul.blottiere@oslandia.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
18
#ifndef QGSWMSRESTORER_H
19
#define QGSWMSRESTORER_H
20
21
#include <QList>
22
#include <QDomDocument>
23
#include <QMap>
24
25
#include "
qgsfeatureid.h
"
26
#include "
qgswmsrendercontext.h
"
27
28
class
QgsMapLayer
;
29
class
QgsAbstractVectorLayerLabeling
;
30
36
class
QgsLayerRestorer
37
{
38
public
:
43
QgsLayerRestorer
(
const
QList<QgsMapLayer *> &layers );
44
50
~QgsLayerRestorer
();
51
52
private
:
53
struct
QgsLayerSettings
54
{
55
QString name;
56
double
mOpacity;
57
std::unique_ptr<QgsAbstractVectorLayerLabeling> mLabeling;
58
QString mNamedStyle;
59
QString mFilter;
60
QgsFeatureIds
mSelectedFeatureIds;
61
};
62
63
std::map<QgsMapLayer *, QgsLayerSettings> mLayerSettings;
64
};
36
class
QgsLayerRestorer
{
…
};
65
66
namespace
QgsWms
67
{
68
74
class
QgsWmsRestorer
75
{
76
public
:
81
QgsWmsRestorer
(
const
QgsWmsRenderContext
&context );
82
83
~QgsWmsRestorer
() =
default
;
84
85
private
:
86
QgsLayerRestorer
mLayerRestorer;
87
};
74
class
QgsWmsRestorer
{
…
};
88
};
// namespace QgsWms
89
90
#endif
QgsAbstractVectorLayerLabeling
Abstract base class - its implementations define different approaches to the labeling of a vector lay...
Definition
qgsvectorlayerlabeling.h:41
QgsLayerRestorer
RAII class to restore layer configuration on destruction (opacity, filters, ...)
Definition
qgswmsrestorer.h:37
QgsLayerRestorer::~QgsLayerRestorer
~QgsLayerRestorer()
Destructor.
Definition
qgswmsrestorer.cpp:79
QgsMapLayer
Base class for all map layer types.
Definition
qgsmaplayer.h:76
QgsWms::QgsWmsRenderContext
Rendering context for the WMS renderer.
Definition
qgswmsrendercontext.h:35
QgsWms::QgsWmsRestorer
RAII class to restore the rendering context configuration on destruction.
Definition
qgswmsrestorer.h:75
QgsWms::QgsWmsRestorer::~QgsWmsRestorer
~QgsWmsRestorer()=default
QgsWms
Median cut implementation.
Definition
qgsdxfwriter.cpp:24
qgsfeatureid.h
QgsFeatureIds
QSet< QgsFeatureId > QgsFeatureIds
Definition
qgsfeatureid.h:37
qgswmsrendercontext.h
Generated on Wed Mar 12 2025 12:18:25 for QGIS API Documentation by
1.9.8