34 return new QgsDummyConfigDlg( vl, fieldIdx, parent, QObject::tr(
"Field contains a color." ) );
40 const QVariant::Type type = field.
type();
41 if ( type == QVariant::Color )
QgsFields fields() const override
Returns the list of fields of this layer.
Encapsulate a field in an attribute table or data source.
Represents a vector layer which manages a vector based data sets.
QgsField field(int fieldIdx) const
Get field at particular index (must be in range 0..N-1)