26 , mMessageBar( messageBar )
33 w->setSizePolicy( w->sizePolicy().horizontalPolicy(), QSizePolicy::Expanding );
49 bool showForm =
config(
"ShowForm",
true ).toBool();
50 bool mapIdent =
config(
"MapIdentification",
false ).toBool();
51 bool readOnlyWidget =
config(
"ReadOnly",
false ).toBool();
52 bool orderByValue =
config(
"OrderByValue",
false ).toBool();
77 connect( mWidget, SIGNAL( foreignKeyChanged( QVariant ) ),
this, SLOT( foreignKeyChanged( QVariant ) ) );
83 return QVariant(
field().type() );
89 return QVariant(
field().type() );
113 void QgsRelationReferenceWidgetWrapper::foreignKeyChanged( QVariant
value )
115 if ( !value.isValid() || value.isNull() )
117 value = QVariant(
field().type() );
const QString name() const
This class contains context information for attribute editor widgets.
A bar for displaying non-blocking messages to the user.
Map canvas is a class for displaying all GIS data types on a canvas.
QgsRelation relation(const QString &id) const
Get access to a relation by its id.
const QgsRelation & relation() const
static QgsProject * instance()
access to canonical QgsProject instance
const QgsAttributeEditorContext * parentContext() const
Represents a vector layer which manages a vector based data sets.
QgsRelationManager * relationManager() const