1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgsrelationreferencesearchwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsRelationReferenceSearchWidgetWrapper : QgsSearchWidgetWrapper
{
%Docstring(signature="appended")
Wraps a relation reference search widget.
%End
%TypeHeaderCode
#include "qgsrelationreferencesearchwidgetwrapper.h"
%End
public:
explicit QgsRelationReferenceSearchWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QgsMapCanvas *canvas, QWidget *parent = 0 );
%Docstring
Constructor for QgsRelationReferenceSearchWidgetWrapper
:param vl: associated vector layer
:param fieldIdx: associated field index
:param canvas: optional map canvas
:param parent: parent widget
%End
QVariant value() const;
%Docstring
Returns a variant representing the current state of the widget.
%End
virtual bool applyDirectly();
virtual QString expression() const;
virtual bool valid() const;
virtual QgsSearchWidgetWrapper::FilterFlags supportedFlags() const;
virtual QgsSearchWidgetWrapper::FilterFlags defaultFlags() const;
%Docstring
Returns the default flags (equalTo)
%End
virtual QString createExpression( QgsSearchWidgetWrapper::FilterFlags flags ) const;
public slots:
virtual void clearWidget();
virtual void setEnabled( bool enabled );
protected:
virtual QWidget *createWidget( QWidget *parent );
virtual void initWidget( QWidget *editor );
public slots:
void onValueChanged( const QVariant &value ) /Deprecated/;
%Docstring
Called when current value of search widget changes
.. deprecated:: 3.10
Made private.
%End
protected slots:
virtual void setExpression( const QString &exp );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/editorwidgets/qgsrelationreferencesearchwidgetwrapper.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|