2019-12-16 17:27:32 +01:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsexpressionstoredialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-17 15:00:48 +01:00
|
|
|
|
2019-12-16 17:27:32 +01:00
|
|
|
class QgsExpressionStoreDialog : QDialog
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
A generic dialog for editing expression text, label and help text.
|
|
|
|
|
|
|
|
.. versionadded:: 3.12
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsexpressionstoredialog.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsExpressionStoreDialog( const QString &label,
|
|
|
|
const QString &expression,
|
|
|
|
const QString &helpText,
|
|
|
|
const QStringList &existingLabels,
|
|
|
|
QWidget *parent = 0 );
|
|
|
|
%Docstring
|
|
|
|
Creates a QgsExpressionStoreDialog with given ``label``, ``expression`` and ``helpText``.
|
2019-12-17 17:10:43 +01:00
|
|
|
``existingLabels`` is an optional list of existing labels for unique label validation,
|
|
|
|
``parent`` is the optional parent widget.
|
2019-12-16 17:27:32 +01:00
|
|
|
%End
|
|
|
|
|
|
|
|
QString expression( );
|
|
|
|
%Docstring
|
|
|
|
Returns the expression text
|
|
|
|
%End
|
|
|
|
|
|
|
|
QString label();
|
|
|
|
%Docstring
|
|
|
|
Returns the label text
|
|
|
|
%End
|
|
|
|
|
|
|
|
QString helpText();
|
|
|
|
%Docstring
|
|
|
|
Returns the help text
|
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsexpressionstoredialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|