/dports/graphics/qgis/qgis-3.22.3/src/gui/editorwidgets/ |
H A D | qgsrelationreferencewidgetwrapper.cpp | 121 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 D | qgsrelationreferencesearchwidgetwrapper.cpp | 59 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 D | qgsrelationreferencewidgetwrapper.cpp | 121 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 D | qgsrelationreferencesearchwidgetwrapper.cpp | 59 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 D | qgsweakrelation.cpp | 25 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 D | qgspolymorphicrelation.h | 187 QList< QgsRelation::FieldPair > fieldPairs() const; 189 QMap< QString, QString > fieldPairs() const; 191 const QList< QgsRelation::FieldPair > &pairs = sipCpp->fieldPairs();
|
H A D | qgsrelation.h | 330 QList< QgsRelation::FieldPair > fieldPairs() const; 332 QMap< QString, QString > fieldPairs() const; 334 const QList< QgsRelation::FieldPair > &pairs = sipCpp->fieldPairs();
|
H A D | qgsweakrelation.h | 67 const QList<QgsRelation::FieldPair> &fieldPairs 97 QList<QgsRelation::FieldPair> fieldPairs() const;
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgsweakrelation.cpp | 25 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 D | qgsrelation.h | 317 QList< QgsRelation::FieldPair > fieldPairs() const; 319 QMap< QString, QString > fieldPairs() const; 321 const QList< QgsRelation::FieldPair > &pairs = sipCpp->fieldPairs();
|
H A D | qgsweakrelation.h | 67 const QList<QgsRelation::FieldPair> &fieldPairs 97 QList<QgsRelation::FieldPair> fieldPairs() const;
|
/dports/graphics/qgis/qgis-3.22.3/src/app/ |
H A D | qgsrelationmanagerdialog.cpp | 106 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 D | qgsdiscoverrelationsdialog.cpp | 46 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 D | testqgsweakrelation.cpp | 69 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 D | testqgsweakrelation.cpp | 69 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 D | qgsattributewidgetedit.cpp | 117 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 D | qgsattributewidgetedit.cpp | 112 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 D | qgsrelationmanagerdialog.cpp | 56 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 D | qgsdiscoverrelationsdialog.cpp | 46 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 D | tfields.nim | 33 for n, x in fieldPairs(d): 46 for name, value in (n: "v").fieldPairs: 50 for name, value in (n: "v").fieldPairs:
|
H A D | tfielditerator.nim | 60 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 D | KDbRelationship.h | 128 KDbField::PairList* fieldPairs(); 131 const KDbField::PairList* fieldPairs() const;
|
/dports/graphics/qgis/qgis-3.22.3/src/core/fieldformatter/ |
H A D | qgsrelationreferencefieldformatter.cpp | 65 …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 D | qgsrelationreferencefieldformatter.cpp | 65 …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 D | qgsabstractrelationeditorwidget.cpp | 221 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()
|