44 return ( field.
type() == QVariant::List || field.
type() == QVariant::StringList || field.
type() == QVariant::Map ) && field.
subType() != QVariant::Invalid ? 20 : 0;
Encapsulate a field in an attribute table or data source.
QVariant::Type subType() const
If the field is a collection, gets its element's type.
QgsField field(int fieldIdx) const
Returns the field at particular index (must be in range 0..N-1).
A configuration dialog for the List Widget class.
Represents a vector layer which manages a vector based data sets.
QgsFields fields() const FINAL
Returns the list of fields of this layer.