OGS
ElementTreeView.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include <QTreeView>
17 
18 class vtkUnstructuredGridAlgorithm;
19 
23 class ElementTreeView : public QTreeView
24 {
25  Q_OBJECT
26 
27 public:
29  explicit ElementTreeView(QWidget* parent = nullptr);
30 
31 public slots:
32  void updateView();
33 
34 protected slots:
36  void selectionChanged(const QItemSelection& selected,
37  const QItemSelection& deselected) override;
38 
39 signals:
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()