QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
A generic dialog for editing expression text, label and help text. More...
#include <qgsexpressionstoredialog.h>
Public Member Functions | |
QgsExpressionStoreDialog (const QString &label, const QString &expression, const QString &helpText, const QStringList &existingLabels=QStringList(), QWidget *parent=nullptr) | |
Creates a QgsExpressionStoreDialog with given label, expression and helpText. | |
QString | expression () |
Returns the expression text. | |
QString | helpText () const |
Returns the help text. | |
bool | isLabelModified () const SIP_SKIP |
Returns whether the label text was modified either manually by the user, or automatically because it contained slashes or leading/trailing whitespace characters. | |
QString | label () |
Returns the label text. | |
A generic dialog for editing expression text, label and help text.
Definition at line 29 of file qgsexpressionstoredialog.h.
QgsExpressionStoreDialog::QgsExpressionStoreDialog | ( | const QString & | label, |
const QString & | expression, | ||
const QString & | helpText, | ||
const QStringList & | existingLabels = QStringList() , |
||
QWidget * | parent = nullptr |
||
) |
Creates a QgsExpressionStoreDialog with given label, expression and helpText.
existingLabels is an optional list of existing labels for unique label validation, parent is the optional parent widget.
Definition at line 21 of file qgsexpressionstoredialog.cpp.
|
inline |
Returns the expression text.
Definition at line 43 of file qgsexpressionstoredialog.h.
QString QgsExpressionStoreDialog::helpText | ( | ) | const |
Returns the help text.
Definition at line 63 of file qgsexpressionstoredialog.cpp.
|
inline |
Returns whether the label text was modified either manually by the user, or automatically because it contained slashes or leading/trailing whitespace characters.
Definition at line 59 of file qgsexpressionstoredialog.h.
|
inline |
Returns the label text.
Definition at line 48 of file qgsexpressionstoredialog.h.