QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <QColor>
#include <QComboBox>
#include <QToolButton>
#include <QWidget>
#include <memory>
#include "qgis_gui.h"
#include "qgis_sip.h"
#include "qgsdistancearea.h"
#include "qgsexpressioncontext.h"
#include "qgsfieldproxymodel.h"
Go to the source code of this file.
Classes | |
class | QgsFieldExpressionWidget |
The QgsFieldExpressionWidget class reates a widget to choose fields and edit expressions It contains a combo box to 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). More... | |