QGIS API Documentation
3.14.0-Pi (9f7028fd23)
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
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
47
private
:
48
QgsRelationAggregateSearchWidgetWrapper
*mSearchWidget =
nullptr
;
49
QgsRelationWidgetWrapper
*mWrapper =
nullptr
;
50
};
51
52
#endif // QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H
QgsRelationAggregateSearchWidgetWrapper
Definition:
qgsrelationaggregatesearchwidgetwrapper.h:35
QgsRelationWidgetWrapper
Definition:
qgsrelationwidgetwrapper.h:30
QgsAttributeFormRelationEditorWidget
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
QgsAttributeFormWidget::currentFilterExpression
virtual QString currentFilterExpression() const
Creates an expression matching the current search filter value and search properties represented in t...
Definition:
qgsattributeformwidget.cpp:111
QgsAttributeForm
Definition:
qgsattributeform.h:44
QgsAttributeEditorContext
Definition:
qgsattributeeditorcontext.h:40
QgsAttributeFormWidget
Definition:
qgsattributeformwidget.h:38
Generated on Mon Jun 22 2020 05:14:09 for QGIS API Documentation by
1.8.17