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
:
38
double
m_currentSliderRange
;
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
SliderSettingsWidget
Definition:
SliderSettingsWidget.h:23
SliderSettingsWidget::m_currentSliderRange
double m_currentSliderRange
Definition:
SliderSettingsWidget.h:38
SliderSettingsWidget::m_radio2
QRadioButton * m_radio2
Definition:
SliderSettingsWidget.h:40
SliderSettingsWidget::rangeChanged
void rangeChanged()
Definition:
SliderSettingsWidget.cpp:72
SliderSettingsWidget::sliderRangeFactorChanged
void sliderRangeFactorChanged(double value)
SliderSettingsWidget::lockzChanged
void lockzChanged(bool value)
SliderSettingsWidget::m_lockzCheckBox
QCheckBox * m_lockzCheckBox
Definition:
SliderSettingsWidget.h:42
SliderSettingsWidget::onLockZChanged
void onLockZChanged(int state)
Definition:
SliderSettingsWidget.cpp:84
SliderSettingsWidget::m_radio3
QRadioButton * m_radio3
Definition:
SliderSettingsWidget.h:41
SliderSettingsWidget::SliderSettingsWidget
SliderSettingsWidget(QWidget *parent=nullptr)
Definition:
SliderSettingsWidget.cpp:23
SliderSettingsWidget::m_radio1
QRadioButton * m_radio1
Definition:
SliderSettingsWidget.h:39
GUI
View
Fit
SliderSettingsWidget.h
Generated by
1.9.1