QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
gui
qgsnewauxiliaryfielddialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsnewauxiliaryfielddialog.h - description
3
-------------------
4
begin : Sept 05, 2017
5
copyright : (C) 2017 by Paul Blottiere
6
email :
[email protected]
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 QGSNEWAUXILIARYFIELDDIALOG_H
19
#define QGSNEWAUXILIARYFIELDDIALOG_H
20
21
#include "ui_qgsnewauxiliaryfielddialogbase.h"
22
#include "
qgsguiutils.h
"
23
#include "qgis_gui.h"
24
#include "
qgsproperty.h
"
25
33
class
GUI_EXPORT
QgsNewAuxiliaryFieldDialog
:
public
QDialog,
private
Ui::QgsNewAuxiliaryFieldDialogBase
34
{
35
Q_OBJECT
36
37
public
:
38
47
QgsNewAuxiliaryFieldDialog
(
const
QgsPropertyDefinition
&definition,
QgsVectorLayer
*layer,
bool
nameOnly =
true
, QWidget *parent =
nullptr
);
48
52
QgsPropertyDefinition
propertyDefinition()
const
;
53
54
protected
:
55
void
accept()
override
;
56
57
QgsVectorLayer
*mLayer =
nullptr
;
58
bool
mNameOnly =
true
;
59
QgsPropertyDefinition
mPropertyDefinition;
60
};
61
62
#endif
QgsNewAuxiliaryFieldDialog
A dialog to create a new auxiliary field.
Definition:
qgsnewauxiliaryfielddialog.h:33
QgsPropertyDefinition
Definition for a property.
Definition:
qgsproperty.h:46
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:391
qgsproperty.h
qgsguiutils.h
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17