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
|
2016-10-04 21:31:17 +10:00
|
|
|
{
|
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
|
2016-10-04 21:31:17 +10:00
|
|
|
%End
|
|
|
|
|
2017-06-08 11:26:03 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgssubstitutionlistwidget.h"
|
|
|
|
%End
|
2016-10-04 21:31:17 +10:00
|
|
|
public:
|
|
|
|
|
2017-05-02 07:21:20 +02:00
|
|
|
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
|
2016-10-04 21:31:17 +10:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
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
|
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`substitutions`
|
2017-06-08 11:26:03 +02:00
|
|
|
%End
|
2016-10-04 21:31:17 +10:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`setSubstitutions`
|
2017-06-08 11:26:03 +02:00
|
|
|
%End
|
2016-10-04 21:31:17 +10:00
|
|
|
|
|
|
|
signals:
|
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
void substitutionsChanged( const QgsStringReplacementCollection &substitutions );
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
Emitted when the substitution definitions change.
|
|
|
|
%End
|
2016-10-04 21:31:17 +10:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-06-08 11:26:03 +02:00
|
|
|
class QgsSubstitutionListDialog : QDialog
|
2016-10-04 21:31:17 +10:00
|
|
|
{
|
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
|
2016-10-04 21:31:17 +10:00
|
|
|
%End
|
|
|
|
|
2017-06-08 11:26:03 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgssubstitutionlistwidget.h"
|
|
|
|
%End
|
2016-10-04 21:31:17 +10:00
|
|
|
public:
|
|
|
|
|
2017-05-02 07:21:20 +02:00
|
|
|
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
|
2016-10-04 21:31:17 +10:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
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
|
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`substitutions`
|
2017-06-08 11:26:03 +02:00
|
|
|
%End
|
2016-10-04 21:31:17 +10:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2018-01-09 17:26:37 -04:00
|
|
|
.. seealso:: :py:func:`setSubstitutions`
|
2017-06-08 11:26:03 +02:00
|
|
|
%End
|
|
|
|
|
2016-10-04 21:31:17 +10:00
|
|
|
|
|
|
|
};
|
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 *
|
|
|
|
************************************************************************/
|