2017-09-06 02:11:48 +01:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsnewauxiliaryfielddialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsNewAuxiliaryFieldDialog: QDialog
|
|
|
|
{
|
2021-03-22 21:13:52 +01:00
|
|
|
%Docstring(signature="appended")
|
2017-09-06 02:11:48 +01:00
|
|
|
|
2018-05-26 14:10:30 +10:00
|
|
|
A dialog to create a new auxiliary field
|
2017-09-06 02:11:48 +01:00
|
|
|
|
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsnewauxiliaryfielddialog.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsNewAuxiliaryFieldDialog( const QgsPropertyDefinition &definition, QgsVectorLayer *layer, bool nameOnly = true, QWidget *parent = 0 );
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor.
|
2017-09-06 02:11:48 +01:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param definition: The property definition to use to create the auxiliary field
|
|
|
|
:param layer: The vector layer for which the auxiliary layer has to be created
|
2019-02-26 19:54:09 +10:00
|
|
|
:param nameOnly: ``True`` to indicate that only the name widget is enabled
|
2017-12-15 10:36:55 -04:00
|
|
|
:param parent: Parent window
|
2017-09-06 02:11:48 +01:00
|
|
|
%End
|
|
|
|
|
|
|
|
QgsPropertyDefinition propertyDefinition() const;
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Returns the underlying property definition.
|
2017-09-06 02:11:48 +01:00
|
|
|
%End
|
|
|
|
|
2021-10-19 23:30:56 +02:00
|
|
|
protected:
|
2017-09-06 02:11:48 +01:00
|
|
|
virtual void accept();
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsnewauxiliaryfielddialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|