|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
A dialog to create a new auxiliary field. More...
#include <qgsnewauxiliaryfielddialog.h>

Public Member Functions | |
| QgsNewAuxiliaryFieldDialog (const QgsPropertyDefinition &definition, QgsVectorLayer *layer, bool nameOnly=true, QWidget *parent=nullptr) | |
| Constructor. | |
| QgsPropertyDefinition | propertyDefinition () const |
| Returns the underlying property definition. | |
Protected Member Functions | |
| void | accept () override |
Protected Attributes | |
| QgsVectorLayer * | mLayer = nullptr |
| bool | mNameOnly = true |
| QgsPropertyDefinition | mPropertyDefinition |
A dialog to create a new auxiliary field.
Definition at line 30 of file qgsnewauxiliaryfielddialog.h.
| QgsNewAuxiliaryFieldDialog::QgsNewAuxiliaryFieldDialog | ( | const QgsPropertyDefinition & | definition, |
| QgsVectorLayer * | layer, | ||
| bool | nameOnly = true, |
||
| QWidget * | parent = nullptr |
||
| ) |
Constructor.
| definition | The property definition to use to create the auxiliary field |
| layer | The vector layer for which the auxiliary layer has to be created |
| nameOnly | true to indicate that only the name widget is enabled |
| parent | Parent window |
Definition at line 27 of file qgsnewauxiliaryfielddialog.cpp.
|
overrideprotected |
Definition at line 48 of file qgsnewauxiliaryfielddialog.cpp.
| QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::propertyDefinition | ( | ) | const |
Returns the underlying property definition.
Definition at line 83 of file qgsnewauxiliaryfielddialog.cpp.
|
protected |
Definition at line 53 of file qgsnewauxiliaryfielddialog.h.
|
protected |
Definition at line 54 of file qgsnewauxiliaryfielddialog.h.
|
protected |
Definition at line 55 of file qgsnewauxiliaryfielddialog.h.