QgsExpressionItem class
An expression item that can be used in the QgsExpressionBuilderWidget tree.
Contents
- Reference
Public static variables
- static const int CUSTOM_SORT_ROLE
- Custom sort order role.
- static const int ITEM_TYPE_ROLE
- Item type role.
Public functions
- auto getHelpText() const -> QString
- Gets the help text that is associated with this expression item.
-
auto getItemType() const -> QgsExpressionItem::
ItemType - Gets the type of expression item, e.g., header, field, ExpressionNode.
- void setHelpText(const QString& helpText)
- Set the help text for the current item.
Function documentation
QString QgsExpressionItem:: getHelpText() const
Gets the help text that is associated with this expression item.
| Returns | The help text. |
|---|
QgsExpressionItem:: ItemType QgsExpressionItem:: getItemType() const
Gets the type of expression item, e.g., header, field, ExpressionNode.
| Returns | The QgsExpressionItem:: |
|---|
void QgsExpressionItem:: setHelpText(const QString& helpText)
Set the help text for the current item.