QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
Dialog to add a source field attribute. More...
#include <qgsaddattrdialog.h>
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. | |
Dialog to add a source field attribute.
Definition at line 39 of file qgsaddattrdialog.h.
QgsAddAttrDialog::QgsAddAttrDialog | ( | QgsVectorLayer * | vlayer, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | fl = QgsGuiUtils::ModalDialogFlags |
||
) |
constructor
Definition at line 27 of file qgsaddattrdialog.cpp.
QgsAddAttrDialog::QgsAddAttrDialog | ( | const std::list< QString > & | typelist, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | fl = QgsGuiUtils::ModalDialogFlags |
||
) |
constructor
QgsField QgsAddAttrDialog::field | ( | ) | const |
Returns a field for the configured attribute.
Definition at line 161 of file qgsaddattrdialog.cpp.
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.
Definition at line 85 of file qgsaddattrdialog.cpp.