18#ifndef QGSADDATTRDIALOG_H
19#define QGSADDATTRDIALOG_H
24#include "ui_qgsaddattrdialogbase.h"
45 QWidget *parent =
nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
48 QWidget *parent =
nullptr, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
56 void setIllegalFieldNames(
const QSet< QString> &names );
62 void mTypeBox_currentIndexChanged(
int idx );
63 void mLength_editingFinished();
64 void accept()
override;
67 bool mIsShapeFile =
false;
68 QSet< QString > mIllegalFieldNames;
70 void setPrecisionMinMax();
Dialog to add a source field attribute.
QgsAddAttrDialog(const std::list< QString > &typelist, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
constructor
Encapsulate a field in an attribute table or data source.
Represents a vector layer which manages a vector based data sets.