QGIS API Documentation  3.21.0-Master (909859188c)
qgsmodeldesignerinputstreewidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsmodeldesignerinputstreewidget.h
3  ------------------------
4  Date : March 2020
5  Copyright : (C) 2020 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 QGSMODELDESIGNERINPUTSTREEWIDGET_H
17 #define QGSMODELDESIGNERINPUTSTREEWIDGET_H
18 
19 #include "qgis.h"
20 #include "qgis_gui.h"
21 #include <QTreeWidget>
22 
23 class QMimeData;
24 
25 #define SIP_NO_FILE
26 
28 
35 class QgsModelDesignerInputsTreeWidget : public QTreeWidget
36 {
37  public:
38 
42  explicit QgsModelDesignerInputsTreeWidget( QWidget *parent = nullptr );
43 
44 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
45  QMimeData *mimeData( const QList<QTreeWidgetItem *> items ) const override;
46 #else
47  QMimeData *mimeData( const QList<QTreeWidgetItem *> &items ) const override;
48 #endif
49 };
50 
52 
53 #endif // QGSMODELDESIGNERINPUTSTREEWIDGET_H