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 );
65 widget = mContainerWidget;
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->setMargin( 0 );
97 glayout->addWidget( mAttributeForm );
Form is in aggregate search mode, show each widget in this mode.
A groupbox that collapses/expands when toggled and can save its collapsed and checked states...
This class contains context information for attribute editor widgets.
QgsVectorLayer referencingLayer
When showing a list of features (e.g. houses as an embedded form in a district form) ...
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Represents a vector layer which manages a vector based data sets.
A form was embedded as a widget on another form.