| 
    QGIS API Documentation
    3.6.0-Noosa (5873452)
    
   | 
 
An expression item that can be used in the QgsExpressionBuilderWidget tree. More...
#include <qgsexpressionbuilderwidget.h>

Public Types | |
| enum | ItemType { Header, Field, ExpressionNode } | 
Public Member Functions | |
| QgsExpressionItem (const QString &label, const QString &expressionText, const QString &helpText, QgsExpressionItem::ItemType itemType=ExpressionNode) | |
| QgsExpressionItem (const QString &label, const QString &expressionText, QgsExpressionItem::ItemType itemType=ExpressionNode) | |
| QString | getExpressionText () const | 
| QString | getHelpText () const | 
| Gets the help text that is associated with this expression item.  More... | |
| QgsExpressionItem::ItemType | getItemType () const | 
| Gets the type of expression item, e.g., header, field, ExpressionNode.  More... | |
| void | setHelpText (const QString &helpText) | 
| Set the help text for the current item.  More... | |
Static Public Attributes | |
| static const int | CUSTOM_SORT_ROLE = Qt::UserRole + 1 | 
| Custom sort order role.  More... | |
| static const int | ITEM_TYPE_ROLE = Qt::UserRole + 2 | 
| Item type role.  More... | |
An expression item that can be used in the QgsExpressionBuilderWidget tree.
Definition at line 40 of file qgsexpressionbuilderwidget.h.
| Enumerator | |
|---|---|
| Header | |
| Field | |
| ExpressionNode | |
Definition at line 43 of file qgsexpressionbuilderwidget.h.
      
  | 
  inline | 
Definition at line 50 of file qgsexpressionbuilderwidget.h.
      
  | 
  inline | 
Definition at line 62 of file qgsexpressionbuilderwidget.h.
      
  | 
  inline | 
Definition at line 72 of file qgsexpressionbuilderwidget.h.
      
  | 
  inline | 
Gets the help text that is associated with this expression item.
Definition at line 79 of file qgsexpressionbuilderwidget.h.
      
  | 
  inline | 
Gets the type of expression item, e.g., header, field, ExpressionNode.
Definition at line 93 of file qgsexpressionbuilderwidget.h.
      
  | 
  inline | 
Set the help text for the current item.
Definition at line 86 of file qgsexpressionbuilderwidget.h.
      
  | 
  static | 
Custom sort order role.
Definition at line 96 of file qgsexpressionbuilderwidget.h.
      
  | 
  static | 
Item type role.
Definition at line 98 of file qgsexpressionbuilderwidget.h.
 1.8.13