QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
qgsmeshdatasetgrouptreewidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsmeshdatasetgrouptreewidget.h
3  -------------------------------
4  begin : May 2020
5  copyright : (C) 2020 by Vincent Cloarec
6  email : vcloarec 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 QGSMESHDATASETGROUPTREEWIDGET_H
17 #define QGSMESHDATASETGROUPTREEWIDGET_H
18 
19 #include "qgis_gui.h"
20 #include "ui_qgsmeshdatasetgrouptreewidgetbase.h"
21 
22 #include "qgsmeshdataset.h"
23 
25 
26 class QgsMeshLayer;
27 
32 class GUI_EXPORT QgsMeshDatasetGroupTreeWidget: public QWidget, private Ui::QgsMeshDatasetGroupTreeWidgetBase
33 {
34  Q_OBJECT
35  public:
37  QgsMeshDatasetGroupTreeWidget( QWidget *parent = nullptr );
38 
40  void syncToLayer( QgsMeshLayer *meshLayer );
41 
42  public slots:
44  void apply();
45 
46  signals:
48 
49  private slots:
50  void addDataset();
51 
52  private:
53  QgsMeshLayer *mMeshLayer;
54 };
55 
56 #endif // QGSMESHDATASETGROUPTREEWIDGET_H
Represents a mesh layer supporting display of data on structured or unstructured meshes.
Definition: qgsmeshlayer.h:97
#define SIP_NO_FILE