File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ class QgsMapLayer;
28
28
class QgsVectorLayer ;
29
29
class QgsFieldModel ;
30
30
31
+ /* *
32
+ * @brief The QgsFieldExpressionWidget class reates a widget to choose fields and edit expressions
33
+ * It contains a combo boxto display the fields and expression and a button to open the expression dialog.
34
+ * The combo box is editable, allowing expressions to be edited inline.
35
+ * The validity of the expression is checked live on key press, invalid expressions are displayed in red.
36
+ * The expression will be added to the model (and the fieldChanged signals emitted)
37
+ * only when editing in the line edit is finished (focus lost, enter key pressed).
38
+ */
31
39
class GUI_EXPORT QgsFieldExpressionWidget : public QWidget
32
40
{
33
41
Q_OBJECT
You can’t perform that action at this time.
0 commit comments