QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
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
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
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
m
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
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
qgsattributetypeloaddialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsattributetypeloaddialog.h
3
-------------------
4
begin : June 2009
5
copyright : (C) 2009 by Richard Kostecky
6
email : csf.kostej@gmail.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 QGSATTRIBUTETYPELOADDIALOG_H
18
#define QGSATTRIBUTETYPELOADDIALOG_H
19
20
#include "ui_qgsattributeloadfrommap.h"
21
22
#include <vector>
23
#include "qgis_gui.h"
24
25
class
QDialog;
26
class
QLayout;
27
class
QgsField
;
28
class
QgsMapCanvas
;
29
class
QgsVectorLayer
;
30
35
class
GUI_EXPORT
QgsAttributeTypeLoadDialog
:
public
QDialog,
private
Ui::QgsAttributeLoadValues
36
{
37
Q_OBJECT
38
39
public
:
40
QgsAttributeTypeLoadDialog
(
QgsVectorLayer
*vl );
41
46
void
accept()
override
;
47
52
void
setVectorLayer(
QgsVectorLayer
*layer );
53
59
QMap<QString, QVariant> &valueMap();
60
66
bool
insertNull();
67
68
private
slots:
69
74
void
fillComboBoxes(
int
layerIndex );
75
81
void
createPreview(
int
fieldIndex,
bool
full =
false
);
82
83
87
void
previewButtonPushed();
88
89
private
:
90
94
void
fillLayerList();
95
99
void
loadDataToValueMap();
100
101
QgsVectorLayer
*mLayer =
nullptr
;
102
QMap<QString, QVariant> mValueMap;
103
};
104
105
#endif
QgsAttributeTypeLoadDialog
Definition:
qgsattributetypeloaddialog.h:36
QgsMapCanvas
Map canvas is a class for displaying all GIS data types on a canvas.
Definition:
qgsmapcanvas.h:85
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:387
QgsField
Encapsulate a field in an attribute table or data source.
Definition:
qgsfield.h:50
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20