16#ifndef QGSPROCESSINGMATRIXPARAMETERDIALOG_H
17#define QGSPROCESSINGMATRIXPARAMETERDIALOG_H
21#include "ui_qgsprocessingmatrixparameterdialogbase.h"
26class QStandardItemModel;
37class GUI_EXPORT QgsProcessingMatrixParameterPanelWidget :
public QgsPanelWidget,
private Ui::QgsProcessingMatrixParameterDialogBase
47 const QVariantList &initialTable = QVariantList() );
52 QVariantList table()
const;
62 QPushButton *mButtonAdd =
nullptr;
63 QPushButton *mButtonRemove =
nullptr;
64 QPushButton *mButtonRemoveAll =
nullptr;
66 QStandardItemModel *mModel =
nullptr;
67 bool mWasCanceled =
false;
69 void populateTable(
const QVariantList &contents );
71 friend class TestProcessingGui;
81class GUI_EXPORT QgsProcessingMatrixParameterPanel :
public QWidget
89 QVariantList value()
const {
return mTable; }
91 void setValue(
const QVariantList &value );
103 void updateSummaryText();
106 QLineEdit *mLineEdit =
nullptr;
107 QToolButton *mToolButton =
nullptr;
111 friend class TestProcessingGui;
A table (matrix) parameter for processing algorithms.