2017-11-01 21:14:34 +01:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/editorwidgets/qgsrelationaggregatesearchwidgetwrapper.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsRelationAggregateSearchWidgetWrapper : QgsSearchWidgetWrapper
|
|
|
|
{
|
|
|
|
%Docstring
|
2017-11-02 10:20:49 +01:00
|
|
|
|
|
|
|
Search widget for the children of a relation.
|
|
|
|
For each attribute of the child, an additional QgsAggregateToolButton will be shown
|
|
|
|
to determine how the values should be aggregated for searching.
|
|
|
|
|
2017-11-21 08:32:53 +01:00
|
|
|
.. versionadded:: 3.0
|
2017-11-01 21:14:34 +01:00
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsrelationaggregatesearchwidgetwrapper.h"
|
|
|
|
%End
|
|
|
|
public:
|
2017-11-02 10:20:49 +01:00
|
|
|
|
|
|
|
explicit QgsRelationAggregateSearchWidgetWrapper( QgsVectorLayer *layer, QgsRelationWidgetWrapper *wrapper, QWidget *parent /TransferThis/ = 0 );
|
|
|
|
%Docstring
|
|
|
|
Constructor
|
|
|
|
%End
|
2017-11-01 21:14:34 +01:00
|
|
|
|
|
|
|
virtual QString expression() const;
|
|
|
|
|
|
|
|
virtual bool valid() const;
|
|
|
|
virtual QWidget *createWidget( QWidget *parent );
|
|
|
|
virtual bool applyDirectly();
|
|
|
|
virtual void setExpression( const QString &value );
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/editorwidgets/qgsrelationaggregatesearchwidgetwrapper.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|