Skip to content
Permalink
Browse files

field expression widget: better documentation

  • Loading branch information
3nids committed May 6, 2014
1 parent 1607396 commit 73d11ae0e980f130c3f74eba756e60fa97c437c9
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/gui/qgsfieldexpressionwidget.h
@@ -28,6 +28,14 @@ class QgsMapLayer;
class QgsVectorLayer;
class QgsFieldModel;

/**
* @brief The QgsFieldExpressionWidget class reates a widget to choose fields and edit expressions
* It contains a combo boxto display the fields and expression and a button to open the expression dialog.
* The combo box is editable, allowing expressions to be edited inline.
* The validity of the expression is checked live on key press, invalid expressions are displayed in red.
* The expression will be added to the model (and the fieldChanged signals emitted)
* only when editing in the line edit is finished (focus lost, enter key pressed).
*/
class GUI_EXPORT QgsFieldExpressionWidget : public QWidget
{
Q_OBJECT

0 comments on commit 73d11ae

Please sign in to comment.
You can’t perform that action at this time.