BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
SliderSettingsWidget.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Fit/SliderSettingsWidget.h
6 //! @brief Defines class SliderSettingsWidget
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_VIEW_FIT_SLIDERSETTINGSWIDGET_H
16 #define BORNAGAIN_GUI_VIEW_FIT_SLIDERSETTINGSWIDGET_H
17 
18 #include <QWidget>
19 
20 class QRadioButton;
21 class QCheckBox;
22 
23 class SliderSettingsWidget : public QWidget {
24  Q_OBJECT
25 
26 public:
27  SliderSettingsWidget(QWidget* parent = nullptr);
28 
29 signals:
30  void sliderRangeFactorChanged(double value);
31  void lockzChanged(bool value);
32 
33 private slots:
34  void rangeChanged();
35  void onLockZChanged(int state);
36 
37 private:
39  QRadioButton* m_radio1;
40  QRadioButton* m_radio2;
41  QRadioButton* m_radio3;
42  QCheckBox* m_lockzCheckBox;
43 };
44 
45 #endif // BORNAGAIN_GUI_VIEW_FIT_SLIDERSETTINGSWIDGET_H
void sliderRangeFactorChanged(double value)
void lockzChanged(bool value)
void onLockZChanged(int state)
SliderSettingsWidget(QWidget *parent=nullptr)