QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
gui
qgsattributeformrelationeditorwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsattributeformrelationeditorwidget.h
3
--------------------------------------
4
Date : Nov 2017
5
Copyright : (C) 2017 Matthias Kuhn
6
Email : matthias@opengis.ch
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H
17
#define QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H
18
19
#include "qgis_gui.h"
20
#include "
qgsattributeformwidget.h
"
21
22
class
QgsRelationWidgetWrapper
;
23
class
QgsRelationAggregateSearchWidgetWrapper
;
24
25
33
class
GUI_EXPORT
QgsAttributeFormRelationEditorWidget
:
public
QgsAttributeFormWidget
34
{
35
Q_OBJECT
36
37
public
:
38
42
explicit
QgsAttributeFormRelationEditorWidget
(
QgsRelationWidgetWrapper
*wrapper,
QgsAttributeForm
*form );
43
44
void
createSearchWidgetWrappers
(
const
QgsAttributeEditorContext
&context =
QgsAttributeEditorContext
() )
override
;
45
QString
currentFilterExpression
()
const override
;
46
52
void
setMultiEditFeatureIds(
const
QgsFeatureIds
&fids );
53
54
private
:
55
QgsRelationAggregateSearchWidgetWrapper
*mSearchWidget =
nullptr
;
56
QgsRelationWidgetWrapper
*mWrapper =
nullptr
;
57
};
58
59
#endif // QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H
QgsRelationAggregateSearchWidgetWrapper
Search widget for the children of a relation. For each attribute of the child, an additional QgsAggre...
Definition:
qgsrelationaggregatesearchwidgetwrapper.h:35
QgsRelationWidgetWrapper
Definition:
qgsrelationwidgetwrapper.h:32
QgsAttributeFormRelationEditorWidget
Widget to show for child relations on an attribute form.
Definition:
qgsattributeformrelationeditorwidget.h:33
QgsAttributeFormWidget::createSearchWidgetWrappers
virtual void createSearchWidgetWrappers(const QgsAttributeEditorContext &context=QgsAttributeEditorContext())=0
Creates the search widget wrappers for the widget used when the form is in search mode.
qgsattributeformwidget.h
QgsFeatureIds
QSet< QgsFeatureId > QgsFeatureIds
Definition:
qgsfeatureid.h:37
QgsAttributeFormWidget::currentFilterExpression
virtual QString currentFilterExpression() const
Creates an expression matching the current search filter value and search properties represented in t...
Definition:
qgsattributeformwidget.cpp:110
QgsAttributeForm
Definition:
qgsattributeform.h:44
QgsAttributeEditorContext
This class contains context information for attribute editor widgets. It will be passed to embedded w...
Definition:
qgsattributeeditorcontext.h:40
QgsAttributeFormWidget
Base class for all widgets shown on a QgsAttributeForm. Consists of the widget which is visible in ed...
Definition:
qgsattributeformwidget.h:38
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17