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() );