/
qgsfeaturefiltermodel.sip.in
108 lines (81 loc) · 3.32 KB
/
qgsfeaturefiltermodel.sip.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsfeaturefiltermodel.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsFeatureFilterModel : QgsFeaturePickerModelBase
{
%Docstring
Provides a list of features based on filter conditions.
Features are fetched asynchronously.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsfeaturefiltermodel.h"
%End
public:
explicit QgsFeatureFilterModel( QObject *parent = 0 );
%Docstring
Create a new QgsFeatureFilterModel, optionally specifying a ``parent``.
%End
QString identifierField() const;
%Docstring
The identifier field should be a unique field that can be used to identify individual features.
It is normally set to the primary key of the layer.
If there are several identifier fields defined, the behavior is not guaranteed
.. deprecated:: QGIS 3.10
use identifierFields instead
%End
QStringList identifierFields() const;
%Docstring
The identifier field should be a unique field that can be used to identify individual features.
It is normally set to the primary key of the layer.
.. versionadded:: 3.10
%End
void setIdentifierFields( const QStringList &identifierFields );
%Docstring
The identifier field should be a unique field that can be used to identify individual features.
It is normally set to the primary key of the layer.
.. note::
This will also reset identifier fields to NULL
.. versionadded:: 3.10
%End
virtual void setExtraIdentifierValueToNull();
%Docstring
Allows specifying one value that does not need to match the filter criteria but will
still be available in the model as NULL value(s).
.. versionadded:: 3.10
%End
QVariantList extraIdentifierValues() const;
%Docstring
Allows specifying one value that does not need to match the filter criteria but will
still be available in the model.
.. versionadded:: 3.10
%End
void setExtraIdentifierValues( const QVariantList &extraIdentifierValues );
%Docstring
Allows specifying one value that does not need to match the filter criteria but will
still be available in the model.
.. versionadded:: 3.10
%End
signals:
void identifierFieldsChanged();
%Docstring
The identifier field should be a unique field that can be used to identify individual features.
It is normally set to the primary key of the layer.
%End
void extraIdentifierValuesChanged();
%Docstring
Allows specifying one value that does not need to match the filter criteria but will
still be available in the model.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsfeaturefiltermodel.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/