16 #ifndef QGSPROCESSINGFIELDMAPWIDGETWRAPPER_H
17 #define QGSPROCESSINGFIELDMAPWIDGETWRAPPER_H
24 #include "ui_qgsprocessingfieldsmappingpanelbase.h"
32 class GUI_EXPORT QgsProcessingFieldMapPanelWidget :
public QgsPanelWidget,
private Ui::QgsProcessingFieldMapPanelBase
37 QgsProcessingFieldMapPanelWidget( QWidget *parent =
nullptr );
41 QVariant value()
const;
42 void setValue(
const QVariant &value );
55 void loadFieldsFromLayer();
57 void loadLayerFields();
63 bool mBlockChangedSignal =
false;
80 QComboBox *mParentLayerComboBox =
nullptr;
107 int stretch() const override;
115 QVariant widgetValue() const override;
117 QStringList compatibleParameterTypes() const override;
118 QStringList compatibleOutputTypes() const override;
119 QString modelerExpressionFormatString() const override;
123 QgsProcessingFieldMapPanelWidget *mPanel =
nullptr;
126 friend class TestProcessingGui;
132 #endif // QGSPROCESSINGFIELDMAPWIDGETWRAPPER_H