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
47 QgsModelOutputReorderWidget( QWidget *parent =
nullptr );
52 void setModel( QgsProcessingModelAlgorithm *model );
57 QStringList outputOrder()
const;
62 QString outputGroup()
const;
66 QgsProcessingModelAlgorithm *mModel;
67 QList< QgsProcessingModelOutput > mOutputs;
68 QStandardItemModel *mItemModel =
nullptr;
78class GUI_EXPORT QgsModelOutputReorderDialog :
public QDialog
87 QgsModelOutputReorderDialog( QWidget *parent =
nullptr );
92 void setModel( QgsProcessingModelAlgorithm *model );
97 QStringList outputOrder()
const;
102 QString outputGroup()
const;
106 QgsModelOutputReorderWidget *mWidget =
nullptr;