24 , mMessageBar( messageBar )
35 return new QgsDummyConfigDlg( vl, fieldIdx, parent, QObject::tr(
"A widget for interacting with geometry fields." ) );
41 const QVariant::Type type = field.
type();
43 return ( type == QVariant::UserType && field.
typeName().compare( QLatin1String(
"geometry" ), Qt::CaseInsensitive ) == 0 ) ? 20 : 0;
Encapsulate a field in an attribute table or data source.
QString typeName() const
Gets the field type.
QgsField field(int fieldIdx) const
Returns the field at particular index (must be in range 0..N-1).
A bar for displaying non-blocking messages to the user.
Represents a vector layer which manages a vector based data sets.
QgsFields fields() const FINAL
Returns the list of fields of this layer.