QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
24 #include <QGridLayout>
35 QString aggregateFilter;
40 if ( aggregateFilter.isEmpty() )
41 return QStringLiteral(
"TRUE" );
43 return aggregateFilter;
60 widget =
new QLabel( tr(
"Relation not valid" ) );
64 mContainerWidget =
new QWidget( parent );
66 widget->installEventFilter(
this );
69 groupBox->setLayout(
new QGridLayout() );
70 groupBox->layout()->addWidget(
widget );
88 bool rv = QgsSearchWidgetWrapper::eventFilter( watched, event );
89 if ( event->type() == QEvent::Show && !mAttributeForm )
94 QGridLayout *glayout =
new QGridLayout();
95 mContainerWidget->setLayout( glayout );
96 glayout->setContentsMargins( 0, 0, 0, 0 );
97 glayout->addWidget( mAttributeForm );
@ Embed
A form was embedded as a widget on another form.
A groupbox that collapses/expands when toggled and can save its collapsed and checked states.
QgsVectorLayer * referencingLayer
Represents a vector layer which manages a vector based data sets.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
@ AggregateSearchMode
Form is in aggregate search mode, show each widget in this mode.
This class contains context information for attribute editor widgets.
@ Multiple
When showing a list of features (e.g. houses as an embedded form in a district form)