34   return new QgsDummyConfigDlg( vl, fieldIdx, parent, QObject::tr( 
"Read-only field that generates a UUID if empty." ) );
    40   return type == QVariant::String ? 5 : 0;
 
QgsFields fields() const FINAL
Returns the list of fields of this layer. 
 
Represents a vector layer which manages a vector based data sets. 
 
QgsField field(int fieldIdx) const
Gets field at particular index (must be in range 0..N-1)