/************************************************************************ * This file has been generated automatically from * * * * src/gui/editorwidgets/qgsrelationwidgetwrapper.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsRelationWidgetWrapper : QgsWidgetWrapper { %Docstring .. note:: not available in Python bindings %End %TypeHeaderCode #include "qgsrelationwidgetwrapper.h" %End public: explicit QgsRelationWidgetWrapper( QgsVectorLayer *vl, const QgsRelation &relation, QWidget *editor = 0, QWidget *parent /TransferThis/ = 0 ); bool showLabel() const; %Docstring Defines if a title lable should be shown for this widget. Only has an effect after widget() has been called at least once. .. versionadded:: 2.18 :rtype: bool %End void setShowLabel( bool showLabel ); %Docstring Defines if a title lable should be shown for this widget. Only has an effect after widget() has been called at least once. .. versionadded:: 2.18 %End bool showLinkButton() const; %Docstring Determines if the "link feature" button should be shown .. versionadded:: 2.18 :rtype: bool %End void setShowLinkButton( bool showLinkButton ); %Docstring Determines if the "link feature" button should be shown .. versionadded:: 2.18 %End bool showUnlinkButton() const; %Docstring Determines if the "unlink feature" button should be shown .. versionadded:: 2.18 :rtype: bool %End void setShowUnlinkButton( bool showUnlinkButton ); %Docstring Determines if the "unlink feature" button should be shown .. versionadded:: 2.18 %End protected: virtual QWidget *createWidget( QWidget *parent ); virtual void initWidget( QWidget *editor ); virtual bool valid() const; public slots: virtual void setFeature( const QgsFeature &feature ); void setVisible( bool visible ); %Docstring Sets the visibility of the wrapper's widget. \param visible set to true to show widget, false to hide widget .. versionadded:: 2.16 %End }; /************************************************************************ * This file has been generated automatically from * * * * src/gui/editorwidgets/qgsrelationwidgetwrapper.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/