|
| QgsVectorLayerJoinInfo ()=default |
| Constructor for QgsVectorLayerJoinInfo. More...
|
|
QgsFeature | extractJoinedFeature (const QgsFeature &feature) const |
| Extract the join feature from the target feature for the current join layer information. More...
|
|
bool | hasCascadedDelete () const |
| Returns whether a feature deleted on the target layer has to impact the joined layer by deleting the corresponding joined feature. More...
|
|
bool | hasSubset (bool blocklisted=true) const |
| Returns true if blocklisted fields is not empty or if a subset of names has been set. More...
|
|
bool | hasUpsertOnEdit () const |
| Returns whether a feature created on the target layer has to impact the joined layer by creating a new feature if necessary. More...
|
|
bool | isDynamicFormEnabled () const |
| Returns whether the form has to be dynamically updated with joined fields when a feature is being created in the target layer. More...
|
|
bool | isEditable () const |
| Returns whether joined fields may be edited through the form of the target layer. More...
|
|
bool | isUsingMemoryCache () const |
| Returns whether values from the joined layer should be cached in memory to speed up lookups. More...
|
|
QString | joinFieldName () const |
| Returns name of the field of joined layer that will be used for join. More...
|
|
Q_DECL_DEPRECATED QStringList | joinFieldNamesBlackList () const |
| Returns the list of fields to ignore. More...
|
|
QStringList | joinFieldNamesBlockList () const |
| Returns the list of fields to ignore. More...
|
|
QStringList * | joinFieldNamesSubset () const |
| Returns the subset of fields to be used from joined layer. More...
|
|
QgsVectorLayer * | joinLayer () const |
| Returns joined layer (may be nullptr if the reference was set by layer ID and not resolved yet) More...
|
|
QString | joinLayerId () const |
| ID of the joined layer - may be used to resolve reference to the joined layer. More...
|
|
bool | operator== (const QgsVectorLayerJoinInfo &other) const |
|
QString | prefix () const |
| Returns prefix of fields from the joined layer. If nullptr , joined layer's name will be used. More...
|
|
QString | prefixedFieldName (const QgsField &field) const |
| Returns the prefixed name of the field. More...
|
|
void | setCascadedDelete (bool enabled) |
| Sets whether a feature deleted on the target layer has to impact the joined layer by deleting the corresponding joined feature. More...
|
|
void | setDynamicFormEnabled (bool enabled) |
| Sets whether the form has to be dynamically updated with joined fields when a feature is being created in the target layer. More...
|
|
void | setEditable (bool enabled) |
| Sets whether the form of the target layer allows editing joined fields. More...
|
|
void | setJoinFieldName (const QString &fieldName) |
| Sets name of the field of joined layer that will be used for join. More...
|
|
Q_DECL_DEPRECATED void | setJoinFieldNamesBlackList (const QStringList &blackList) |
| Sets a list of fields to ignore whatever happens. More...
|
|
void | setJoinFieldNamesBlockList (const QStringList &list) |
| Sets a list of fields to ignore whatever happens. More...
|
|
void | setJoinFieldNamesSubset (QStringList *fieldNamesSubset) |
| Sets the subset of fields to be used from joined layer. More...
|
|
void | setJoinLayer (QgsVectorLayer *layer) |
| Sets weak reference to the joined layer. More...
|
|
void | setJoinLayerId (const QString &layerId) |
| Sets ID of the joined layer. It will need to be overwritten by setJoinLayer() to a reference to real layer. More...
|
|
void | setPrefix (const QString &prefix) |
| Sets prefix of fields from the joined layer. If nullptr , joined layer's name will be used. More...
|
|
void | setTargetFieldName (const QString &fieldName) |
| Sets name of the field of our layer that will be used for join. More...
|
|
void | setUpsertOnEdit (bool enabled) |
| Sets whether a feature created on the target layer has to impact the joined layer by creating a new feature if necessary. More...
|
|
void | setUsingMemoryCache (bool enabled) |
| Sets whether values from the joined layer should be cached in memory to speed up lookups. More...
|
|
QString | targetFieldName () const |
| Returns name of the field of our layer that will be used for join. More...
|
|