/************************************************************************ * This file has been generated automatically from * * * * src/gui/qgssubstitutionlistwidget.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsSubstitutionListWidget : QgsPanelWidget { %Docstring A widget which allows users to specify a list of substitutions to apply to a string, with options for exporting and importing substitution lists. .. seealso:: :py:class:`QgsSubstitutionListDialog` .. versionadded:: 3.0 %End %TypeHeaderCode #include "qgssubstitutionlistwidget.h" %End public: QgsSubstitutionListWidget( QWidget *parent /TransferThis/ = 0 ); %Docstring Constructor for QgsSubstitutionListWidget. :param parent: parent widget %End void setSubstitutions( const QgsStringReplacementCollection &substitutions ); %Docstring Sets the list of substitutions to show in the widget. :param substitutions: substitution list .. seealso:: :py:func:`substitutions` %End QgsStringReplacementCollection substitutions() const; %Docstring Returns the list of substitutions currently defined by the widget. .. seealso:: :py:func:`setSubstitutions` %End signals: void substitutionsChanged( const QgsStringReplacementCollection &substitutions ); %Docstring Emitted when the substitution definitions change. %End }; class QgsSubstitutionListDialog : QDialog { %Docstring A dialog which allows users to specify a list of substitutions to apply to a string, with options for exporting and importing substitution lists. .. seealso:: :py:class:`QgsSubstitutionListWidget` .. versionadded:: 3.0 %End %TypeHeaderCode #include "qgssubstitutionlistwidget.h" %End public: QgsSubstitutionListDialog( QWidget *parent /TransferThis/ = 0 ); %Docstring Constructor for QgsSubstitutionListDialog. :param parent: parent widget %End void setSubstitutions( const QgsStringReplacementCollection &substitutions ); %Docstring Sets the list of substitutions to show in the dialog. :param substitutions: substitution list .. seealso:: :py:func:`substitutions` %End QgsStringReplacementCollection substitutions() const; %Docstring Returns the list of substitutions currently defined by the dialog. .. seealso:: :py:func:`setSubstitutions` %End }; /************************************************************************ * This file has been generated automatically from * * * * src/gui/qgssubstitutionlistwidget.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/