Home
last modified time | relevance | path

Searched refs:fieldPairs (Results 1 – 25 of 70) sorted by relevance

123

/dports/graphics/qgis/qgis-3.22.3/src/gui/editorwidgets/
H A Dqgsrelationreferencewidgetwrapper.cpp121 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in value() local
122 Q_ASSERT( fieldPairs.count() == fkeys.count() ); in value()
123 for ( int i = 0; i < fieldPairs.count(); i++ ) in value()
160 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in additionalFieldValues() local
180 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in additionalFields() local
181 for ( int i = 0; i < fieldPairs.count(); i++ ) in additionalFields()
199 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in updateValues() local
200 for ( int i = 0; i < fieldPairs.count(); i++ ) in updateValues()
208 Q_ASSERT( values.count() == fieldPairs.count() ); in updateValues()
241 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in foreignKeysChanged() local
[all …]
H A Dqgsrelationreferencesearchwidgetwrapper.cpp59 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in value() local
60 Q_ASSERT( fieldPairs.count() == fkeys.count() ); in value()
61 for ( int i = 0; i < fieldPairs.count(); i++ ) in value()
63 if ( fieldPairs.at( i ).referencingField() == layer()->fields().at( fieldIndex() ).name() ) in value()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/gui/editorwidgets/
H A Dqgsrelationreferencewidgetwrapper.cpp121 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in value() local
122 Q_ASSERT( fieldPairs.count() == fkeys.count() ); in value()
123 for ( int i = 0; i < fieldPairs.count(); i++ ) in value()
160 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in additionalFieldValues() local
180 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in additionalFields() local
181 for ( int i = 0; i < fieldPairs.count(); i++ ) in additionalFields()
199 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in updateValues() local
200 for ( int i = 0; i < fieldPairs.count(); i++ ) in updateValues()
208 Q_ASSERT( values.count() == fieldPairs.count() ); in updateValues()
241 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in foreignKeysChanged() local
[all …]
H A Dqgsrelationreferencesearchwidgetwrapper.cpp59 const QList<QgsRelation::FieldPair> fieldPairs = mWidget->relation().fieldPairs(); in value() local
60 Q_ASSERT( fieldPairs.count() == fkeys.count() ); in value()
61 for ( int i = 0; i < fieldPairs.count(); i++ ) in value()
63 if ( fieldPairs.at( i ).referencingField() == layer()->fields().at( fieldIndex() ).name() ) in value()
/dports/graphics/qgis/qgis-3.22.3/src/core/
H A Dqgsweakrelation.cpp25 const QList<QgsRelation::FieldPair> &fieldPairs ) in QgsWeakRelation() argument
31 , mFieldPairs( fieldPairs ) in QgsWeakRelation()
75 QList<QgsRelation::FieldPair> QgsWeakRelation::fieldPairs() const in fieldPairs() function in QgsWeakRelation
89 QList<QgsRelation::FieldPair> fieldPairs; in readXml() local
94 fieldPairs.push_back( { fieldPairElement.attribute( QStringLiteral( "referencingField" ) ), in readXml()
115 fieldPairs in readXml()
131 fieldPairs in readXml()
H A Dqgspolymorphicrelation.h187 QList< QgsRelation::FieldPair > fieldPairs() const;
189 QMap< QString, QString > fieldPairs() const;
191 const QList< QgsRelation::FieldPair > &pairs = sipCpp->fieldPairs();
H A Dqgsrelation.h330 QList< QgsRelation::FieldPair > fieldPairs() const;
332 QMap< QString, QString > fieldPairs() const;
334 const QList< QgsRelation::FieldPair > &pairs = sipCpp->fieldPairs();
H A Dqgsweakrelation.h67 const QList<QgsRelation::FieldPair> &fieldPairs
97 QList<QgsRelation::FieldPair> fieldPairs() const;
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/
H A Dqgsweakrelation.cpp25 const QList<QgsRelation::FieldPair> &fieldPairs ) in QgsWeakRelation() argument
31 , mFieldPairs( fieldPairs ) in QgsWeakRelation()
75 QList<QgsRelation::FieldPair> QgsWeakRelation::fieldPairs() const in fieldPairs() function in QgsWeakRelation
89 QList<QgsRelation::FieldPair> fieldPairs; in readXml() local
94 fieldPairs.push_back( { fieldPairElement.attribute( QStringLiteral( "referencingField" ) ), in readXml()
115 fieldPairs in readXml()
131 fieldPairs in readXml()
H A Dqgsrelation.h317 QList< QgsRelation::FieldPair > fieldPairs() const;
319 QMap< QString, QString > fieldPairs() const;
321 const QList< QgsRelation::FieldPair > &pairs = sipCpp->fieldPairs();
H A Dqgsweakrelation.h67 const QList<QgsRelation::FieldPair> &fieldPairs
97 QList<QgsRelation::FieldPair> fieldPairs() const;
/dports/graphics/qgis/qgis-3.22.3/src/app/
H A Dqgsrelationmanagerdialog.cpp106 for ( int i = 0; i < polyRel.fieldPairs().count(); i++ ) in addPolymorphicRelation()
114 referencingFields += polyRel.fieldPairs().at( i ).referencingField(); in addPolymorphicRelation()
115 referencedFields += polyRel.fieldPairs().at( i ).referencedField(); in addPolymorphicRelation()
155 QString referencingFields = rel.fieldPairs().at( 0 ).referencingField(); in addRelationPrivate()
156 QString referencedFields = rel.fieldPairs().at( 0 ).referencedField(); in addRelationPrivate()
157 for ( int i = 1; i < rel.fieldPairs().count(); i++ ) in addRelationPrivate()
159 …referencingFields.append( QStringLiteral( ", %1" ).arg( rel.fieldPairs().at( i ).referencingField(… in addRelationPrivate()
160 …referencedFields.append( QStringLiteral( ", %1" ).arg( rel.fieldPairs().at( i ).referencedField() … in addRelationPrivate()
254 const auto references = addDlg.fieldPairs(); in mActionAddPolymorphicRelation_triggered()
289 const auto references = addDlg.fieldPairs(); in mActionEditPolymorphicRelation_triggered()
H A Dqgsdiscoverrelationsdialog.cpp46 for ( int i = 0; i < rel.fieldPairs().count(); i++ ) in addRelation()
48 …eral( "%1%2" ).arg( referencingFields.isEmpty() ? "" : ", " ).arg( rel.fieldPairs().at( i ).refere… in addRelation()
49 …teral( "%1%2" ).arg( referencedFields.isEmpty() ? "" : ", " ).arg( rel.fieldPairs().at( i ).refere… in addRelation()
/dports/graphics/qgis/qgis-3.22.3/tests/src/core/
H A Dtestqgsweakrelation.cpp69 const QList<QgsRelation::FieldPair> fieldPairs {{ "fk_province", "pk" }}; in testResolved() local
82 fieldPairs in testResolved()
111 const QList<QgsRelation::FieldPair> fieldPairs {{ "fk_province", "pk" }}; in testReadWrite() local
124 fieldPairs in testReadWrite()
146 QCOMPARE( weakRelReferenced.fieldPairs(), fieldPairs ); in testReadWrite()
154 QCOMPARE( weakRelReferencing.fieldPairs(), fieldPairs ); in testReadWrite()
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/core/
H A Dtestqgsweakrelation.cpp69 QList<QgsRelation::FieldPair> fieldPairs {{ "fk_province", "pk" }}; in testResolved() local
82 fieldPairs in testResolved()
111 QList<QgsRelation::FieldPair> fieldPairs {{ "fk_province", "pk" }}; in testReadWrite() local
124 fieldPairs in testReadWrite()
146 QCOMPARE( weakRelReferenced.fieldPairs(), fieldPairs ); in testReadWrite()
154 QCOMPARE( weakRelReferencing.fieldPairs(), fieldPairs ); in testReadWrite()
/dports/graphics/qgis/qgis-3.22.3/src/gui/attributeformconfig/
H A Dqgsattributewidgetedit.cpp117 if ( !relation.fieldPairs().isEmpty() ) in setRelationEditorConfiguration()
119 const QgsRelation::FieldPair relationFirstFieldPair = relation.fieldPairs().at( 0 ); in setRelationEditorConfiguration()
122 if ( !nmrel.fieldPairs().isEmpty() && in setRelationEditorConfiguration()
123 … nmrel.fieldPairs().at( 0 ).referencingField() != relationFirstFieldPair.referencingField() ) in setRelationEditorConfiguration()
125 …StringLiteral( "%1 (%2)" ).arg( nmrel.referencedLayer()->name(), nmrel.fieldPairs().at( 0 ).refere… in setRelationEditorConfiguration()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/gui/attributeformconfig/
H A Dqgsattributewidgetedit.cpp112 if ( !relation.fieldPairs().isEmpty() ) in setRelationEditorConfiguration()
114 const QgsRelation::FieldPair relationFirstFieldPair = relation.fieldPairs().at( 0 ); in setRelationEditorConfiguration()
117 if ( !nmrel.fieldPairs().isEmpty() && in setRelationEditorConfiguration()
118 … nmrel.fieldPairs().at( 0 ).referencingField() != relationFirstFieldPair.referencingField() ) in setRelationEditorConfiguration()
120 …StringLiteral( "%1 (%2)" ).arg( nmrel.referencedLayer()->name(), nmrel.fieldPairs().at( 0 ).refere… in setRelationEditorConfiguration()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/
H A Dqgsrelationmanagerdialog.cpp56 QString referencingFields = rel.fieldPairs().at( 0 ).referencingField(); in addRelation()
57 QString referencedFields = rel.fieldPairs().at( 0 ).referencedField(); in addRelation()
58 for ( int i = 1; i < rel.fieldPairs().count(); i++ ) in addRelation()
60 …referencingFields.append( QStringLiteral( ", %1" ).arg( rel.fieldPairs().at( i ).referencingField(… in addRelation()
61 …referencedFields.append( QStringLiteral( ", %1" ).arg( rel.fieldPairs().at( i ).referencedField() … in addRelation()
H A Dqgsdiscoverrelationsdialog.cpp46 for ( int i = 0; i < rel.fieldPairs().count(); i++ ) in addRelation()
48 …eral( "%1%2" ).arg( referencingFields.isEmpty() ? "" : ", " ).arg( rel.fieldPairs().at( i ).refere… in addRelation()
49 …teral( "%1%2" ).arg( referencedFields.isEmpty() ? "" : ", " ).arg( rel.fieldPairs().at( i ).refere… in addRelation()
/dports/lang/nim/nim-1.6.2/tests/fields/
H A Dtfields.nim33 for n, x in fieldPairs(d):
46 for name, value in (n: "v").fieldPairs:
50 for name, value in (n: "v").fieldPairs:
H A Dtfielditerator.nim60 for key, val in fieldPairs(x):
104 for key, val in fieldPairs(x):
108 for key, val in fieldPairs(co):
/dports/databases/kdb/kdb-3.2.0/src/
H A DKDbRelationship.h128 KDbField::PairList* fieldPairs();
131 const KDbField::PairList* fieldPairs() const;
/dports/graphics/qgis/qgis-3.22.3/src/core/fieldformatter/
H A Dqgsrelationreferencefieldformatter.cpp65 …const int referencingFieldIdx = referencingLayer->fields().lookupField( relation.fieldPairs().at( … in representValue()
95 …const int referencedFieldIdx = referencedLayer->fields().lookupField( relation.fieldPairs().at( 0 … in representValue()
139 …const int referencedFieldIdx = referencedLayer->fields().lookupField( relation.fieldPairs().at( 0 … in createCache()
142 …) configured in relation %4" ).arg( layer->name(), fieldName, relation.fieldPairs().at( 0 ).second… in createCache()
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/fieldformatter/
H A Dqgsrelationreferencefieldformatter.cpp65 …int referencingFieldIdx = referencingLayer->fields().lookupField( relation.fieldPairs().at( 0 ).fi… in representValue()
95 …int referencedFieldIdx = referencedLayer->fields().lookupField( relation.fieldPairs().at( 0 ).seco… in representValue()
139 …const int referencedFieldIdx = referencedLayer->fields().lookupField( relation.fieldPairs().at( 0 … in createCache()
142 …) configured in relation %4" ).arg( layer->name(), fieldName, relation.fieldPairs().at( 0 ).second… in createCache()
/dports/graphics/qgis/qgis-3.22.3/src/gui/
H A Dqgsabstractrelationeditorwidget.cpp221 const auto constFieldPairs = mRelation.fieldPairs(); in addFeature()
228 const auto constNmFieldPairs = mNmRelation.fieldPairs(); in addFeature()
240 const auto constFieldPairs = mRelation.fieldPairs(); in addFeature()
300 …teral( "%1 IN (%2)" ).arg( QgsExpression::quotedColumnRef( mNmRelation.fieldPairs().first().first … in deleteFeatures()
439 const auto constFieldPairs = mRelation.fieldPairs(); in onLinkFeatureDlgAccepted()
448 const auto constFieldPairs = mNmRelation.fieldPairs(); in onLinkFeatureDlgAccepted()
469 const auto constFieldPairs = mRelation.fieldPairs(); in onLinkFeatureDlgAccepted()
553 const auto constFieldPairs = mRelation.fieldPairs(); in unlinkFeatures()

123