qgis-sample-QgsFieldExpressionWidget.py
# coding: utf-8 from qgis.gui import QgsFieldExpressionWidget field_expression_widget = QgsFieldExpressionWidget() field_expression_widget.show()