9 mTxtRelationId->setPlaceholderText(
tr(
"[Generated automatically]" ) );
14 mCbxReferencingLayer->addItem(
"",
"" );
15 mCbxReferencedLayer->addItem(
"",
"" );
19 mCbxReferencingLayer->addItem( layer->
name(), layer->
id() );
20 mCbxReferencedLayer->addItem( layer->
name(), layer->
id() );
28 return mCbxReferencingLayer->itemData( mCbxReferencingLayer->currentIndex() ).toString();
33 return mCbxReferencedLayer->itemData( mCbxReferencedLayer->currentIndex() ).toString();
40 QString referencingField = mCbxReferencingField->itemData( mCbxReferencingField->currentIndex() ).toString();
41 QString referencedField = mCbxReferencedField->itemData( mCbxReferencedField->currentIndex() ).toString();
43 references.append( QPair<QString, QString> ( referencingField, referencedField ) );
50 return mTxtRelationId->text();
55 return mTxtRelationName->text();
79 cbx->addItem( fld.
name(), fld.
name() );