21 fields.
append(
QgsField( QStringLiteral(
"type" ), QMetaType::Type::QString, QStringLiteral(
"String" ) ) );
Encapsulate a field in an attribute table or data source.
Container of fields for a vector layer.
bool append(const QgsField &field, Qgis::FieldOrigin origin=Qgis::FieldOrigin::Provider, int originIndex=-1)
Appends a field.
static QgsFields triangulationFields()
Returns the fields output by features when calling saveTriangulation().