QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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
[legend]

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

QgsVectorLayermLayer = nullptr
 
bool mNameOnly = true
 
QgsPropertyDefinition mPropertyDefinition
 

Detailed Description

A dialog to create a new auxiliary field.

Definition at line 32 of file qgsnewauxiliaryfielddialog.h.

Constructor & Destructor Documentation

◆ QgsNewAuxiliaryFieldDialog()

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

Constructor.

Parameters
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 27 of file qgsnewauxiliaryfielddialog.cpp.

Member Function Documentation

◆ accept()

void QgsNewAuxiliaryFieldDialog::accept ( )
overrideprotected

Definition at line 48 of file qgsnewauxiliaryfielddialog.cpp.

◆ propertyDefinition()

QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::propertyDefinition ( ) const

Returns the underlying property definition.

Definition at line 83 of file qgsnewauxiliaryfielddialog.cpp.

Member Data Documentation

◆ mLayer

QgsVectorLayer* QgsNewAuxiliaryFieldDialog::mLayer = nullptr
protected

Definition at line 55 of file qgsnewauxiliaryfielddialog.h.

◆ mNameOnly

bool QgsNewAuxiliaryFieldDialog::mNameOnly = true
protected

Definition at line 56 of file qgsnewauxiliaryfielddialog.h.

◆ mPropertyDefinition

QgsPropertyDefinition QgsNewAuxiliaryFieldDialog::mPropertyDefinition
protected

Definition at line 57 of file qgsnewauxiliaryfielddialog.h.


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