Skip to content
Snippets Groups Projects
ElementTreeView.h 1.01 KiB
Newer Older
  • Learn to ignore specific revisions
  • /**
     * \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
     *
     */
    
     *    A TreeView to display mesh element properties.
    
        Q_OBJECT
    
        /// Constructor
    
        explicit ElementTreeView(QWidget* parent = nullptr);
    
        void updateView();
    
        /// Is called when the selection of this view changes.
    
        void selectionChanged(const QItemSelection& selected,
                              const QItemSelection& deselected) override;
    
        void nodeSelected(vtkUnstructuredGridAlgorithm const*const, unsigned, bool);
        void removeSelectedMeshComponent();