QGIS API Documentation  3.2.0-Bonn (bc43194)
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 34 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 23 of file qgsnewauxiliaryfielddialog.cpp.

Member Function Documentation

◆ accept()

void QgsNewAuxiliaryFieldDialog::accept ( )

Definition at line 54 of file qgsnewauxiliaryfielddialog.cpp.

◆ propertyDefinition()

QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::propertyDefinition ( ) const

Returns the underlying property definition.

Definition at line 100 of file qgsnewauxiliaryfielddialog.cpp.

Member Data Documentation

◆ mLayer

QgsVectorLayer* QgsNewAuxiliaryFieldDialog::mLayer = nullptr

Definition at line 58 of file qgsnewauxiliaryfielddialog.h.

◆ mNameOnly

bool QgsNewAuxiliaryFieldDialog::mNameOnly = true

Definition at line 59 of file qgsnewauxiliaryfielddialog.h.

◆ mPropertyDefinition

QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::mPropertyDefinition

Definition at line 60 of file qgsnewauxiliaryfielddialog.h.

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