BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ItemTreeView.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/SampleDesigner/ItemTreeView.h
6 //! @brief Defines class ItemTreeView
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_ITEMTREEVIEW_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_ITEMTREEVIEW_H
17 
18 #include <QTreeView>
19 
20 class ItemTreeView : public QTreeView {
21  Q_OBJECT
22 public:
23  explicit ItemTreeView(QWidget* parent = 0);
24  virtual ~ItemTreeView();
25 
26 protected:
27 #ifndef QT_NO_DRAGANDDROP
28  virtual void dragMoveEvent(QDragMoveEvent* event);
29 #endif
30 };
31 
32 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_ITEMTREEVIEW_H
virtual ~ItemTreeView()
ItemTreeView(QWidget *parent=0)
virtual void dragMoveEvent(QDragMoveEvent *event)