QGIS API Documentation 3.41.0-Master (d5b93354e9c)
Loading...
Searching...
No Matches
qgsattributeformrelationeditorwidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsattributeformrelationeditorwidget.h
3 --------------------------------------
4 Date : Nov 2017
5 Copyright : (C) 2017 Matthias Kuhn
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"
21
24
25
33{
34 Q_OBJECT
35
36 public:
41
43 QString currentFilterExpression() const override;
44
50 void setMultiEditFeatureIds( const QgsFeatureIds &fids );
51
52 private:
53 QgsRelationAggregateSearchWidgetWrapper *mSearchWidget = nullptr;
54 QgsRelationWidgetWrapper *mWrapper = nullptr;
55};
56
57#endif // QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H
This class contains context information for attribute editor widgets.
Widget to show for child relations on an attribute form.
Base class for all widgets shown on a QgsAttributeForm.
virtual void createSearchWidgetWrappers(const QgsAttributeEditorContext &context=QgsAttributeEditorContext())=0
Creates the search widget wrappers for the widget used when the form is in search mode.
virtual QString currentFilterExpression() const
Creates an expression matching the current search filter value and search properties represented in t...
Search widget for the children of a relation.
QSet< QgsFeatureId > QgsFeatureIds