QGIS API Documentation
2.8.2-Wien
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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 "
qgsfeature.h
"
23
#include "
qgsvectorlayer.h
"
24
#include <vector>
25
26
class
QDialog;
27
class
QLayout;
28
class
QgsField
;
29
class
QgsMapCanvas
;
30
31
class
GUI_EXPORT
QgsAttributeTypeLoadDialog
:
public
QDialog,
private
Ui::QgsAttributeLoadValues
32
{
33
Q_OBJECT
34
35
public
:
36
QgsAttributeTypeLoadDialog
(
QgsVectorLayer
*vl );
37
~
QgsAttributeTypeLoadDialog
();
38
43
void
accept()
override
;
44
49
void
setVectorLayer(
QgsVectorLayer
*layer );
50
55
QMap<QString, QVariant> &valueMap();
56
62
bool
insertNull();
63
64
private
slots:
69
void
fillComboBoxes(
int
layerIndex );
70
76
void
createPreview(
int
fieldIndex,
bool
full =
false
);
77
78
82
void
previewButtonPushed();
83
84
private
:
85
89
void
fillLayerList();
90
94
void
loadDataToValueMap();
95
96
QgsVectorLayer
*mLayer;
97
QMap<QString, QVariant> mValueMap;
98
};
99
100
#endif
Generated on Sun May 10 2015 16:33:25 for QGIS API Documentation by
1.8.1.2