QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsNewAuxiliaryFieldDialog Class Reference

A dialog to create a new auxiliary field. More...

#include <qgsnewauxiliaryfielddialog.h>

Inheritance diagram for QgsNewAuxiliaryFieldDialog:
Inheritance graph

Public Member Functions

 QgsNewAuxiliaryFieldDialog (const QgsPropertyDefinition &definition, QgsVectorLayer *layer, bool nameOnly=true, QWidget *parent=nullptr)
 Constructor. More...
QgsPropertyDefinition propertyDefinition () const
 Returns the underlying property definition. More...

Protected Member Functions

void accept () override

Protected Attributes

QgsVectorLayermLayer = nullptr
bool mNameOnly = true
QgsPropertyDefinition mPropertyDefinition

Detailed Description

A dialog to create a new auxiliary field.

QGIS 3.0

Definition at line 33 of file qgsnewauxiliaryfielddialog.h.

Constructor & Destructor Documentation

◆ QgsNewAuxiliaryFieldDialog()

QgsNewAuxiliaryFieldDialog::QgsNewAuxiliaryFieldDialog ( const QgsPropertyDefinition definition,
QgsVectorLayer layer,
bool  nameOnly = true,
QWidget *  parent = nullptr 


definitionThe property definition to use to create the auxiliary field
layerThe vector layer for which the auxiliary layer has to be created
nameOnlytrue to indicate that only the name widget is enabled
parentParent window

Definition at line 25 of file qgsnewauxiliaryfielddialog.cpp.

Member Function Documentation

◆ accept()

void QgsNewAuxiliaryFieldDialog::accept ( )

Definition at line 46 of file qgsnewauxiliaryfielddialog.cpp.

◆ propertyDefinition()

QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::propertyDefinition ( ) const

Returns the underlying property definition.

Definition at line 81 of file qgsnewauxiliaryfielddialog.cpp.

Member Data Documentation

◆ mLayer

QgsVectorLayer* QgsNewAuxiliaryFieldDialog::mLayer = nullptr

Definition at line 70 of file qgsnewauxiliaryfielddialog.h.

◆ mNameOnly

bool QgsNewAuxiliaryFieldDialog::mNameOnly = true

Definition at line 71 of file qgsnewauxiliaryfielddialog.h.

◆ mPropertyDefinition

QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::mPropertyDefinition

Definition at line 72 of file qgsnewauxiliaryfielddialog.h.

The documentation for this class was generated from the following files: