QGIS/python/gui/auto_generated/qgssubstitutionlistwidget.sip.in

108 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-06-08 11:26:03 +02:00
/************************************************************************
* 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
{
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A widget which allows users to specify a list of substitutions to apply to a string, with
options for exporting and importing substitution lists.
2017-12-05 20:04:14 -04:00
.. seealso:: :py:class:`QgsSubstitutionListDialog`
2018-05-28 11:31:08 -04:00
.. versionadded:: 3.0
%End
2017-06-08 11:26:03 +02:00
%TypeHeaderCode
#include "qgssubstitutionlistwidget.h"
%End
public:
QgsSubstitutionListWidget( QWidget *parent /TransferThis/ = 0 );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsSubstitutionListWidget.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param parent: parent widget
2017-06-08 11:26:03 +02:00
%End
void setSubstitutions( const QgsStringReplacementCollection &substitutions );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the list of substitutions to show in the widget.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param substitutions: substitution list
.. seealso:: :py:func:`substitutions`
2017-06-08 11:26:03 +02:00
%End
QgsStringReplacementCollection substitutions() const;
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the list of substitutions currently defined by the widget.
.. seealso:: :py:func:`setSubstitutions`
2017-06-08 11:26:03 +02:00
%End
signals:
void substitutionsChanged( const QgsStringReplacementCollection &substitutions );
2017-06-08 11:26:03 +02:00
%Docstring
Emitted when the substitution definitions change.
%End
};
2017-06-08 11:26:03 +02:00
class QgsSubstitutionListDialog : QDialog
{
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A dialog which allows users to specify a list of substitutions to apply to a string, with
options for exporting and importing substitution lists.
2017-12-05 20:04:14 -04:00
.. seealso:: :py:class:`QgsSubstitutionListWidget`
2018-05-28 11:31:08 -04:00
.. versionadded:: 3.0
%End
2017-06-08 11:26:03 +02:00
%TypeHeaderCode
#include "qgssubstitutionlistwidget.h"
%End
public:
QgsSubstitutionListDialog( QWidget *parent /TransferThis/ = 0 );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsSubstitutionListDialog.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param parent: parent widget
2017-06-08 11:26:03 +02:00
%End
void setSubstitutions( const QgsStringReplacementCollection &substitutions );
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the list of substitutions to show in the dialog.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param substitutions: substitution list
.. seealso:: :py:func:`substitutions`
2017-06-08 11:26:03 +02:00
%End
QgsStringReplacementCollection substitutions() const;
2017-06-08 11:26:03 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the list of substitutions currently defined by the dialog.
.. seealso:: :py:func:`setSubstitutions`
2017-06-08 11:26:03 +02:00
%End
};
2017-06-08 11:26:03 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgssubstitutionlistwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/