16#ifndef QGSMODELOUTPUTREORDERWIDGET_H
17#define QGSMODELOUTPUTREORDERWIDGET_H
23#include "ui_qgsmodeloutputreorderwidgetbase.h"
27class QStandardItemModel;
28class QgsProcessingModelAlgorithm;
38class GUI_EXPORT QgsModelOutputReorderWidget :
public QWidget,
private Ui::QgsModelOutputReorderWidgetBase
46 QgsModelOutputReorderWidget( QWidget *parent =
nullptr );
51 void setModel( QgsProcessingModelAlgorithm *model );
56 QStringList outputOrder()
const;
61 QString outputGroup()
const;
64 QgsProcessingModelAlgorithm *mModel;
65 QList<QgsProcessingModelOutput> mOutputs;
66 QStandardItemModel *mItemModel =
nullptr;
76class GUI_EXPORT QgsModelOutputReorderDialog :
public QDialog
84 QgsModelOutputReorderDialog( QWidget *parent =
nullptr );
89 void setModel( QgsProcessingModelAlgorithm *model );
94 QStringList outputOrder()
const;
99 QString outputGroup()
const;
102 QgsModelOutputReorderWidget *mWidget =
nullptr;