Class: QgsExpressionItem¶
An expression item that can be used in the
QgsExpressionBuilderWidget tree.
Class Hierarchy¶
Base classes¶
- 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.