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 )
Encapsulate a field in an attribute table or data source.
QgsField field(int fieldIdx) const
Returns the field at particular index (must be in range 0..N-1).
Represents a vector layer which manages a vector based data sets.
QgsFields fields() const FINAL
Returns the list of fields of this layer.