QGIS API Documentation 3.43.0-Master (c67cf405802)
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
34class GUI_EXPORT QgsMeshDatasetGroupTreeWidget : public QWidget, private Ui::QgsMeshDatasetGroupTreeWidgetBase
35{
36 Q_OBJECT
37 public:
39 QgsMeshDatasetGroupTreeWidget( QWidget *parent = nullptr );
40
42 void syncToLayer( QgsMeshLayer *meshLayer );
43
44 public slots:
46 void apply();
47
48 signals:
51
52 private slots:
53 void addDataset();
54 void removeDataset();
55
56 private:
57 QgsMeshLayer *mMeshLayer;
58};
59
60#endif // QGSMESHDATASETGROUPTREEWIDGET_H
A widget for configuring dataset groups attached to a QgsMeshLayer.
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