QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
processing
models
qgsmodeloutputreorderwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmodeloutputreorderwidget.h
3
----------------------------------
4
Date : April 2023
5
Copyright : (C) 2023 Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSMODELOUTPUTREORDERWIDGET_H
17
#define QGSMODELOUTPUTREORDERWIDGET_H
18
19
20
#include "ui_qgsmodeloutputreorderwidgetbase.h"
21
22
#include "
qgis.h
"
23
#include "qgis_gui.h"
24
#include "
qgsprocessingmodeloutput.h
"
25
26
#include <QDialog>
27
28
#define SIP_NO_FILE
29
30
class
QStandardItemModel;
31
class
QgsProcessingModelAlgorithm;
32
34
41
class
GUI_EXPORT QgsModelOutputReorderWidget :
public
QWidget,
private
Ui::QgsModelOutputReorderWidgetBase
42
{
43
Q_OBJECT
44
45
public
:
49
QgsModelOutputReorderWidget( QWidget *parent =
nullptr
);
50
54
void
setModel( QgsProcessingModelAlgorithm *model );
55
59
QStringList outputOrder()
const
;
60
64
QString outputGroup()
const
;
65
66
private
:
67
QgsProcessingModelAlgorithm *mModel;
68
QList<QgsProcessingModelOutput> mOutputs;
69
QStandardItemModel *mItemModel =
nullptr
;
70
};
71
72
79
class
GUI_EXPORT QgsModelOutputReorderDialog :
public
QDialog
80
{
81
Q_OBJECT
82
83
public
:
87
QgsModelOutputReorderDialog( QWidget *parent =
nullptr
);
88
92
void
setModel( QgsProcessingModelAlgorithm *model );
93
97
QStringList outputOrder()
const
;
98
102
QString outputGroup()
const
;
103
104
private
:
105
QgsModelOutputReorderWidget *mWidget =
nullptr
;
106
};
107
109
110
#endif
// QGSMODELOUTPUTREORDERWIDGET_H
qgis.h
qgsprocessingmodeloutput.h
Generated on
for QGIS API Documentation by
1.17.0