Class: QgsExpressionItem¶
An expression item that can be used in the
QgsExpressionBuilderWidget tree.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Methods
Gets the help text that is associated with this expression item. |
|
Gets the type of expression item, e.g., header, field, ExpressionNode. |
|
Set the help text for the current item |
Attributes
- class qgis.gui.QgsExpressionItem[source]¶
Bases:
QStandardItem- CUSTOM_SORT_ROLE: int = 257¶
- ExpressionNode = 2¶
- Field = 1¶
- Header = 0¶
- ITEM_NAME_ROLE: int = 260¶
- ITEM_TYPE_ROLE: int = 258¶
- LAYER_ID_ROLE: int = 261¶
- SEARCH_TAGS_ROLE: int = 259¶
- getHelpText(self) str[source]¶
Gets the help text that is associated with this expression item.
- Return type:
str
- Returns:
The help text.