QGIS API Documentation
2.0.1-Dufour
|
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 (QString label, QString expressionText, QString helpText, QgsExpressionItem::ItemType itemType=ExpressionNode) | |
QgsExpressionItem (QString label, QString expressionText, QgsExpressionItem::ItemType itemType=ExpressionNode) | |
QString | getExpressionText () |
QString | getHelpText () |
Get the help text that is associated with this expression item. | |
void | setHelpText (QString helpText) |
Set the help text for the current item. | |
QgsExpressionItem::ItemType | getItemType () |
Get the type of expression item eg header, field, ExpressionNode. |
Private Attributes | |
QString | mExpressionText |
QString | mHelpText |
QgsExpressionItem::ItemType | mType |
An expression item that can be used in the QgsExpressionBuilderWidget tree.
Definition at line 49 of file qgsexpressionbuilderwidget.h.
Definition at line 52 of file qgsexpressionbuilderwidget.h.
|
inline |
Definition at line 59 of file qgsexpressionbuilderwidget.h.
References mExpressionText, mHelpText, and mType.
|
inline |
Definition at line 70 of file qgsexpressionbuilderwidget.h.
References mExpressionText, and mType.
|
inline |
Definition at line 79 of file qgsexpressionbuilderwidget.h.
References mExpressionText.
Referenced by QgsExpressionBuilderWidget::on_expressionTree_doubleClicked().
|
inline |
Get the help text that is associated with this expression item.
Definition at line 85 of file qgsexpressionbuilderwidget.h.
References mHelpText.
Referenced by QgsExpressionBuilderWidget::loadFunctionHelp().
|
inline |
Get the type of expression item eg header, field, ExpressionNode.
Definition at line 96 of file qgsexpressionbuilderwidget.h.
References mType.
Referenced by QgsExpressionBuilderWidget::currentChanged(), QgsExpressionBuilderWidget::loadFunctionHelp(), QgsExpressionBuilderWidget::on_expressionTree_doubleClicked(), and QgsExpressionBuilderWidget::showContextMenu().
|
inline |
Set the help text for the current item.
Definition at line 90 of file qgsexpressionbuilderwidget.h.
References mHelpText.
|
private |
Definition at line 99 of file qgsexpressionbuilderwidget.h.
Referenced by getExpressionText(), and QgsExpressionItem().
|
private |
Definition at line 100 of file qgsexpressionbuilderwidget.h.
Referenced by getHelpText(), QgsExpressionItem(), and setHelpText().
|
private |
Definition at line 101 of file qgsexpressionbuilderwidget.h.
Referenced by getItemType(), and QgsExpressionItem().