OGS
ElementTreeView.h
Go to the documentation of this file.
1
14#pragma once
15
16#include <QTreeView>
17
18class vtkUnstructuredGridAlgorithm;
19
23class ElementTreeView : public QTreeView
24{
25 Q_OBJECT
26
27public:
29 explicit ElementTreeView(QWidget* parent = nullptr);
30
31public slots:
32 void updateView();
33
34protected slots:
36 void selectionChanged(const QItemSelection& selected,
37 const QItemSelection& deselected) override;
38
39signals:
40 void nodeSelected(vtkUnstructuredGridAlgorithm const*const, unsigned, bool);
42};
void nodeSelected(vtkUnstructuredGridAlgorithm const *const, unsigned, bool)
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
Is called when the selection of this view changes.
ElementTreeView(QWidget *parent=nullptr)
Constructor.
void removeSelectedMeshComponent()