QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 26 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 160 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 84 of file qgsaddattrdialog.cpp.