mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Update documentation and sip binding
This commit is contained in:
parent
0dcfd56cdf
commit
fa4a426893
@ -167,19 +167,35 @@ Returns whether values from the joined layer should be cached in memory to speed
|
||||
%End
|
||||
|
||||
void setJoinFieldNamesBlackList( const QStringList &blackList );
|
||||
%Docstring
|
||||
Sets a list of fields to ignore whatever happens.
|
||||
|
||||
.. versionadded:: 3.0
|
||||
%End
|
||||
|
||||
QStringList joinFieldNamesBlackList() const;
|
||||
%Docstring
|
||||
Returns the list of fields to ignore.
|
||||
|
||||
.. versionadded:: 3.0
|
||||
:rtype: list of str
|
||||
%End
|
||||
|
||||
bool hasSubset( bool blacklisted = true ) const;
|
||||
%Docstring
|
||||
Returns true if blacklisted fields is not empty or if a subset of names
|
||||
has been set.
|
||||
|
||||
.. versionadded:: 3.0
|
||||
:rtype: bool
|
||||
%End
|
||||
|
||||
static QStringList joinFieldNamesSubset( const QgsVectorLayerJoinInfo &info, bool blacklisted = true );
|
||||
%Docstring
|
||||
Returns the list of field names to use for joining considering
|
||||
blacklisted fields and subset.
|
||||
|
||||
.. versionadded:: 3.0
|
||||
:rtype: list of str
|
||||
%End
|
||||
|
||||
|
@ -105,6 +105,7 @@ class CORE_EXPORT QgsPropertyDefinition
|
||||
DataTypeBoolean,
|
||||
};
|
||||
|
||||
//! Indicates for which settings the property has been set
|
||||
enum Origin
|
||||
{
|
||||
Diagram,
|
||||
|
@ -141,12 +141,34 @@ class CORE_EXPORT QgsVectorLayerJoinInfo
|
||||
*/
|
||||
QgsFeature extractJoinedFeature( const QgsFeature &feature ) const;
|
||||
|
||||
/**
|
||||
* Sets a list of fields to ignore whatever happens.
|
||||
*
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
void setJoinFieldNamesBlackList( const QStringList &blackList ) { mBlackList = blackList; }
|
||||
|
||||
/**
|
||||
* Returns the list of fields to ignore.
|
||||
*
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
QStringList joinFieldNamesBlackList() const { return mBlackList; }
|
||||
|
||||
/**
|
||||
* Returns true if blacklisted fields is not empty or if a subset of names
|
||||
* has been set.
|
||||
*
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
bool hasSubset( bool blacklisted = true ) const;
|
||||
|
||||
/**
|
||||
* Returns the list of field names to use for joining considering
|
||||
* blacklisted fields and subset.
|
||||
*
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
static QStringList joinFieldNamesSubset( const QgsVectorLayerJoinInfo &info, bool blacklisted = true );
|
||||
|
||||
bool operator==( const QgsVectorLayerJoinInfo &other ) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user