QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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
26class QgsMeshLayer;
27
32class 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:
49
50 private slots:
51 void addDataset();
52 void removeDataset();
53
54 private:
55 QgsMeshLayer *mMeshLayer;
56};
57
58#endif // QGSMESHDATASETGROUPTREEWIDGET_H
void datasetGroupsChanged()
Emitted when dataset groups changed (addition or removal)
Represents a mesh layer supporting display of data on structured or unstructured meshes.
#define SIP_NO_FILE