Newer
Older
Karsten Rink
committed
/**
* \file
* \author Karsten Rink
* \date 2013-04-09
* \brief Definition of the ElementTreeView class.
*
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
Karsten Rink
committed
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
Karsten Rink
committed
#include <QTreeView>
class vtkUnstructuredGridAlgorithm;
/**
* A TreeView to display mesh element properties.
Karsten Rink
committed
*/
class ElementTreeView : public QTreeView
{
Karsten Rink
committed
public:
explicit ElementTreeView(QWidget* parent = nullptr);
Karsten Rink
committed
public slots:
Karsten Rink
committed
protected slots:
/// Is called when the selection of this view changes.
void selectionChanged(const QItemSelection& selected,
const QItemSelection& deselected) override;
Karsten Rink
committed
signals:
void nodeSelected(vtkUnstructuredGridAlgorithm const*const, unsigned, bool);
void removeSelectedMeshComponent();