mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04: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
|
%End
|
||||||
|
|
||||||
void setJoinFieldNamesBlackList( const QStringList &blackList );
|
void setJoinFieldNamesBlackList( const QStringList &blackList );
|
||||||
|
%Docstring
|
||||||
|
Sets a list of fields to ignore whatever happens.
|
||||||
|
|
||||||
|
.. versionadded:: 3.0
|
||||||
|
%End
|
||||||
|
|
||||||
QStringList joinFieldNamesBlackList() const;
|
QStringList joinFieldNamesBlackList() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
|
Returns the list of fields to ignore.
|
||||||
|
|
||||||
|
.. versionadded:: 3.0
|
||||||
:rtype: list of str
|
:rtype: list of str
|
||||||
%End
|
%End
|
||||||
|
|
||||||
bool hasSubset( bool blacklisted = true ) const;
|
bool hasSubset( bool blacklisted = true ) const;
|
||||||
%Docstring
|
%Docstring
|
||||||
|
Returns true if blacklisted fields is not empty or if a subset of names
|
||||||
|
has been set.
|
||||||
|
|
||||||
|
.. versionadded:: 3.0
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static QStringList joinFieldNamesSubset( const QgsVectorLayerJoinInfo &info, bool blacklisted = true );
|
static QStringList joinFieldNamesSubset( const QgsVectorLayerJoinInfo &info, bool blacklisted = true );
|
||||||
%Docstring
|
%Docstring
|
||||||
|
Returns the list of field names to use for joining considering
|
||||||
|
blacklisted fields and subset.
|
||||||
|
|
||||||
|
.. versionadded:: 3.0
|
||||||
:rtype: list of str
|
:rtype: list of str
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ class CORE_EXPORT QgsPropertyDefinition
|
|||||||
DataTypeBoolean,
|
DataTypeBoolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//! Indicates for which settings the property has been set
|
||||||
enum Origin
|
enum Origin
|
||||||
{
|
{
|
||||||
Diagram,
|
Diagram,
|
||||||
|
@ -141,12 +141,34 @@ class CORE_EXPORT QgsVectorLayerJoinInfo
|
|||||||
*/
|
*/
|
||||||
QgsFeature extractJoinedFeature( const QgsFeature &feature ) const;
|
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; }
|
void setJoinFieldNamesBlackList( const QStringList &blackList ) { mBlackList = blackList; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the list of fields to ignore.
|
||||||
|
*
|
||||||
|
* \since QGIS 3.0
|
||||||
|
*/
|
||||||
QStringList joinFieldNamesBlackList() const { return mBlackList; }
|
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;
|
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 );
|
static QStringList joinFieldNamesSubset( const QgsVectorLayerJoinInfo &info, bool blacklisted = true );
|
||||||
|
|
||||||
bool operator==( const QgsVectorLayerJoinInfo &other ) const
|
bool operator==( const QgsVectorLayerJoinInfo &other ) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user