Forked from
ogs / ogs
13477 commits behind the upstream repository.
-
Dmitri Naumov authored
initializer-list constructor should not be declared explicit. Constructors that take a single std::initializer_list parameter should also omit explicit, in order to support copy-initialization.
Dmitri Naumov authoredinitializer-list constructor should not be declared explicit. Constructors that take a single std::initializer_list parameter should also omit explicit, in order to support copy-initialization.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ElementTreeView.h 1.01 KiB
/**
* \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)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include <QTreeView>
class vtkUnstructuredGridAlgorithm;
/**
* A TreeView to display mesh element properties.
*/
class ElementTreeView : public QTreeView
{
Q_OBJECT
public:
/// Constructor
explicit ElementTreeView(QWidget* parent = nullptr);
public slots:
void updateView();
protected slots:
/// Is called when the selection of this view changes.
void selectionChanged(const QItemSelection& selected,
const QItemSelection& deselected) override;
signals:
void nodeSelected(vtkUnstructuredGridAlgorithm const*const, unsigned, bool);
void removeSelectedMeshComponent();
};