31 , mMessageBar( messageBar )
43 return QVariant( QVariant::UserType );
45 return QVariant::fromValue( geomValue );
57 widget->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Minimum );
63 mWidget = qobject_cast<QgsGeometryWidget *>( editor );
76void QgsGeometryWidgetWrapper::updateValues(
const QVariant &value,
const QVariantList & )
81 if (
value.userType() == QMetaType::type(
"QgsReferencedGeometry" ) )
85 else if (
value.userType() == QMetaType::type(
"QgsGeometry" ) )
This class represents a coordinate reference system (CRS).
A geometry is the spatial representation of a feature.
A bar for displaying non-blocking messages to the user.
A QgsGeometry with associated coordinate reference system.
static bool isNull(const QVariant &variant)
Returns true if the specified variant should be considered a NULL value.
Represents a vector layer which manages a vector based data sets.