QGIS API Documentation
3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
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 :
[email protected]
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
32
class
GUI_EXPORT
QgsAttributeFormRelationEditorWidget
:
public
QgsAttributeFormWidget
33
{
34
Q_OBJECT
35
36
public
:
37
41
explicit
QgsAttributeFormRelationEditorWidget
(
QgsRelationWidgetWrapper
*wrapper,
QgsAttributeForm
*form );
42
43
void
createSearchWidgetWrappers
(
const
QgsAttributeEditorContext
&context =
QgsAttributeEditorContext
() )
override
;
44
QString
currentFilterExpression
()
const override
;
45
51
void
setMultiEditFeatureIds(
const
QgsFeatureIds
&fids );
52
53
private
:
54
QgsRelationAggregateSearchWidgetWrapper
*mSearchWidget =
nullptr
;
55
QgsRelationWidgetWrapper
*mWrapper =
nullptr
;
56
};
57
58
#endif
// QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H
QgsAttributeEditorContext
This class contains context information for attribute editor widgets.
Definition
qgsattributeeditorcontext.h:41
QgsAttributeFormRelationEditorWidget
Widget to show for child relations on an attribute form.
Definition
qgsattributeformrelationeditorwidget.h:33
QgsAttributeFormWidget
Base class for all widgets shown on a QgsAttributeForm.
Definition
qgsattributeformwidget.h:38
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::currentFilterExpression
virtual QString currentFilterExpression() const
Creates an expression matching the current search filter value and search properties represented in t...
Definition
qgsattributeformwidget.cpp:127
QgsAttributeForm
Definition
qgsattributeform.h:48
QgsRelationAggregateSearchWidgetWrapper
Search widget for the children of a relation.
Definition
qgsrelationaggregatesearchwidgetwrapper.h:35
QgsRelationWidgetWrapper
Definition
qgsrelationwidgetwrapper.h:33
qgsattributeformwidget.h
QgsFeatureIds
QSet< QgsFeatureId > QgsFeatureIds
Definition
qgsfeatureid.h:37
Generated on Mon Oct 28 2024 22:06:03 for QGIS API Documentation by
1.9.8