BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
InstrumentSelectorWidget.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/coregui/Views/InstrumentWidgets/InstrumentSelectorWidget.h
6
//! @brief Defines class InstrumentSelectorWidget
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_INSTRUMENTWIDGETS_INSTRUMENTSELECTORWIDGET_H
16
#define BORNAGAIN_GUI_COREGUI_VIEWS_INSTRUMENTWIDGETS_INSTRUMENTSELECTORWIDGET_H
17
18
#include "
GUI/coregui/Views/CommonWidgets/ItemSelectorWidget.h
"
19
20
class
InstrumentModel
;
21
22
//! Instrument selector on the left side of InstrumentView.
23
24
class
InstrumentSelectorWidget
:
public
ItemSelectorWidget
{
25
Q_OBJECT
26
27
public
:
28
InstrumentSelectorWidget
(
InstrumentModel
* model =
nullptr
, QWidget* parent =
nullptr
);
29
30
QSize
sizeHint
()
const
;
31
QSize
minimumSizeHint
()
const
;
32
};
33
34
#endif
// BORNAGAIN_GUI_COREGUI_VIEWS_INSTRUMENTWIDGETS_INSTRUMENTSELECTORWIDGET_H
ItemSelectorWidget.h
Defines class ItemSelectorWidget.
InstrumentModel
Definition:
InstrumentModel.h:22
InstrumentSelectorWidget
Instrument selector on the left side of InstrumentView.
Definition:
InstrumentSelectorWidget.h:24
InstrumentSelectorWidget::sizeHint
QSize sizeHint() const
Definition:
InstrumentSelectorWidget.cpp:47
InstrumentSelectorWidget::minimumSizeHint
QSize minimumSizeHint() const
Definition:
InstrumentSelectorWidget.cpp:52
InstrumentSelectorWidget::InstrumentSelectorWidget
InstrumentSelectorWidget(InstrumentModel *model=nullptr, QWidget *parent=nullptr)
Definition:
InstrumentSelectorWidget.cpp:23
ItemSelectorWidget
The ItemSelectorWidget class holds QListView to show top level items of SessionModel.
Definition:
ItemSelectorWidget.h:33
GUI
coregui
Views
InstrumentWidgets
InstrumentSelectorWidget.h
Generated by
1.9.1