QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsAddAttrDialog Class Reference

Dialog to add a source field attribute. More...

#include <qgsaddattrdialog.h>

Inheritance diagram for QgsAddAttrDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsAddAttrDialog (const std::list< QString > &typelist, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 constructor More...
 
 QgsAddAttrDialog (QgsVectorLayer *vlayer, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 constructor More...
 
QgsField field () const
 Returns a field for the configured attribute. More...
 
void setIllegalFieldNames (const QSet< QString > &names)
 Sets a list of field names which are considered illegal and should not be accepted by the dialog. More...
 

Detailed Description

Dialog to add a source field attribute.

Note
This class is not a part of public API
Since
QGIS 3.14

Definition at line 39 of file qgsaddattrdialog.h.

Constructor & Destructor Documentation

◆ QgsAddAttrDialog() [1/2]

QgsAddAttrDialog::QgsAddAttrDialog ( QgsVectorLayer vlayer,
QWidget *  parent = nullptr,
Qt::WindowFlags  fl = QgsGuiUtils::ModalDialogFlags 
)

constructor

Definition at line 26 of file qgsaddattrdialog.cpp.

◆ QgsAddAttrDialog() [2/2]

QgsAddAttrDialog::QgsAddAttrDialog ( const std::list< QString > &  typelist,
QWidget *  parent = nullptr,
Qt::WindowFlags  fl = QgsGuiUtils::ModalDialogFlags 
)

constructor

Member Function Documentation

◆ field()

QgsField QgsAddAttrDialog::field ( ) const

Returns a field for the configured attribute.

Definition at line 160 of file qgsaddattrdialog.cpp.

◆ setIllegalFieldNames()

void QgsAddAttrDialog::setIllegalFieldNames ( const QSet< QString > &  names)

Sets a list of field names which are considered illegal and should not be accepted by the dialog.

Since
QGIS 3.30

Definition at line 84 of file qgsaddattrdialog.cpp.


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