/************************************************************************ * This file has been generated automatically from * * * * src/gui/editorwidgets/qgsrelationreferencewidgetwrapper.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsRelationReferenceWidgetWrapper : QgsEditorWidgetWrapper { %Docstring Wraps a relation reference widget. Options: %End %TypeHeaderCode #include "qgsrelationreferencewidgetwrapper.h" %End public: explicit QgsRelationReferenceWidgetWrapper( QgsVectorLayer *vl, int fieldIdx, QWidget *editor, QgsMapCanvas *canvas, QgsMessageBar *messageBar, QWidget *parent /TransferThis/ = 0 ); %Docstring Constructor for QgsRelationReferenceWidgetWrapper %End virtual QWidget *createWidget( QWidget *parent ); virtual void initWidget( QWidget *editor ); virtual QVariant value() const; virtual bool valid() const; virtual void showIndeterminateState(); public slots: virtual void setValue( const QVariant &value ); virtual void setEnabled( bool enabled ); protected: virtual void updateConstraintWidgetStatus(); }; /************************************************************************ * This file has been generated automatically from * * * * src/gui/editorwidgets/qgsrelationreferencewidgetwrapper.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/