|
QGIS API Documentation
2.4.0-Chugiak
|
A generic dialog for building expression strings. More...
#include <qgsexpressionbuilderdialog.h>


Public Member Functions | |
| QgsExpressionBuilderDialog (QgsVectorLayer *layer, QString startText=QString(), QWidget *parent=NULL, QString key="generic") | |
| QgsExpressionBuilderWidget * | expressionBuilder () |
| The builder widget that is used by the dialog. More... | |
| void | setExpressionText (const QString &text) |
| QString | expressionText () |
| void | setGeomCalculator (const QgsDistanceArea &da) |
| Sets geometry calculator used in distance/area calculations. More... | |
Protected Member Functions | |
| virtual void | done (int r) |
| Is called when the dialog get accepted or rejected Used to save geometry. More... | |
| virtual void | accept () |
Private Attributes | |
| QString | mRecentKey |
A generic dialog for building expression strings.
Definition at line 26 of file qgsexpressionbuilderdialog.h.
| QgsExpressionBuilderDialog::QgsExpressionBuilderDialog | ( | QgsVectorLayer * | layer, |
| QString | startText = QString(), |
||
| QWidget * | parent = NULL, |
||
| QString | key = "generic" |
||
| ) |
Definition at line 19 of file qgsexpressionbuilderdialog.cpp.
References mRecentKey.
|
protectedvirtual |
Definition at line 59 of file qgsexpressionbuilderdialog.cpp.
References mRecentKey.
|
protectedvirtual |
Is called when the dialog get accepted or rejected Used to save geometry.
| r | result value (unused) |
Definition at line 51 of file qgsexpressionbuilderdialog.cpp.
| QgsExpressionBuilderWidget * QgsExpressionBuilderDialog::expressionBuilder | ( | ) |
The builder widget that is used by the dialog.
Definition at line 36 of file qgsexpressionbuilderdialog.cpp.
| QString QgsExpressionBuilderDialog::expressionText | ( | ) |
Definition at line 46 of file qgsexpressionbuilderdialog.cpp.
Referenced by QgsFieldExpressionWidget::editExpression(), and QgsDataDefinedButton::showExpressionDialog().
| void QgsExpressionBuilderDialog::setExpressionText | ( | const QString & | text | ) |
Definition at line 41 of file qgsexpressionbuilderdialog.cpp.
Referenced by QgsDualView::previewExpressionBuilder().
| void QgsExpressionBuilderDialog::setGeomCalculator | ( | const QgsDistanceArea & | da | ) |
Sets geometry calculator used in distance/area calculations.
Definition at line 65 of file qgsexpressionbuilderdialog.cpp.
Referenced by QgsFieldExpressionWidget::editExpression().
|
private |
Definition at line 55 of file qgsexpressionbuilderdialog.h.
Referenced by accept(), and QgsExpressionBuilderDialog().
1.8.7