QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
46 Q_UNUSED( fieldIndex )
59 return Qt::AlignRight;
67 Q_UNUSED( fieldIndex )
76 return QList<QgsVectorLayerRef>();
82 Q_UNUSED( countLimit )
85 return QVariantList();
@ OriginProvider
Field comes from the underlying data provider of the vector layer (originIndex = index in provider's ...
QgsVectorDataProvider * dataProvider() FINAL
Returns the layer's data provider, it may be nullptr.
QString displayString(const QVariant &v) const
Formats string for display.
QgsFields fields() const FINAL
Returns the list of fields of this layer.
bool exists(int i) const
Returns if a field index is valid.
FieldOrigin fieldOrigin(int fieldIdx) const
Gets field's origin (value from an enumeration)
int fieldOriginIndex(int fieldIdx) const
Gets field's origin index (its meaning is specific to each type of origin)
virtual QString defaultValueClause(int fieldIndex) const
Returns any default value clauses which are present at the provider for a specified field index.
QgsField at(int i) const
Gets field at particular index (must be in range 0..N-1)