QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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
 
 QgsAddAttrDialog (QgsVectorLayer *vlayer, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 constructor
 
QgsField field () const
 Returns a field for the configured attribute.
 
void setIllegalFieldNames (const QSet< QString > &names)
 Sets a list of field names which are considered illegal and should not be accepted by the dialog.
 

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: