BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Properties widget for the QREDataLoader.
Definition at line 33 of file QREDataLoaderProperties.h.
Signals | |
void | propertiesChanged () |
Public Member Functions | |
QREDataLoaderProperties () | |
void | allowFactors (bool b) |
Factors shall not be supported. However, since the requirements have been there, they are only deactivated. Call allowFactors(true) to enable them. More... | |
QSpinBox * | columnSpinBox (int dataType) const |
double | factor (int dataType) const |
QDoubleSpinBox * | factorSpinBox (int dataType) const |
Public Attributes | |
Ui::QREDataLoaderProperties * | m_ui |
Private Member Functions | |
QLabel * | factorLabel (int dataType) const |
void | onErrorEnablingChanged () |
void | updateErrorEnabling (bool enabled) const |
Private Attributes | |
bool | m_allowFactors |
Static Private Attributes | |
static const int | columnColumn = 3 |
static const int | factorColumn = factorLabelColumn + 1 |
static const int | factorLabelColumn = 4 |
QREDataLoaderProperties::QREDataLoaderProperties | ( | ) |
Definition at line 20 of file QREDataLoaderProperties.cpp.
References allowFactors(), columnSpinBox(), factorSpinBox(), m_ui, onErrorEnablingChanged(), and propertiesChanged().
void QREDataLoaderProperties::allowFactors | ( | bool | b | ) |
Factors shall not be supported. However, since the requirements have been there, they are only deactivated. Call allowFactors(true) to enable them.
Definition at line 58 of file QREDataLoaderProperties.cpp.
References factorLabel(), factorSpinBox(), m_allowFactors, m_ui, and updateErrorEnabling().
Referenced by QREDataLoaderProperties().
QSpinBox * QREDataLoaderProperties::columnSpinBox | ( | int | dataType | ) | const |
Definition at line 100 of file QREDataLoaderProperties.cpp.
References columnColumn, and m_ui.
Referenced by QREDataLoaderProperties().
double QREDataLoaderProperties::factor | ( | int | dataType | ) | const |
Definition at line 69 of file QREDataLoaderProperties.cpp.
References factorSpinBox().
|
private |
Definition at line 114 of file QREDataLoaderProperties.cpp.
References factorLabelColumn, and m_ui.
Referenced by allowFactors().
QDoubleSpinBox * QREDataLoaderProperties::factorSpinBox | ( | int | dataType | ) | const |
Definition at line 107 of file QREDataLoaderProperties.cpp.
References factorColumn, and m_ui.
Referenced by QREDataLoaderProperties(), allowFactors(), and factor().
|
private |
Definition at line 91 of file QREDataLoaderProperties.cpp.
References m_ui, propertiesChanged(), and updateErrorEnabling().
Referenced by QREDataLoaderProperties().
|
signal |
|
private |
Definition at line 75 of file QREDataLoaderProperties.cpp.
References factorColumn, factorLabelColumn, m_allowFactors, and m_ui.
Referenced by allowFactors(), and onErrorEnablingChanged().
|
staticprivate |
Definition at line 61 of file QREDataLoaderProperties.h.
Referenced by columnSpinBox().
|
staticprivate |
Definition at line 63 of file QREDataLoaderProperties.h.
Referenced by factorSpinBox(), and updateErrorEnabling().
|
staticprivate |
Definition at line 62 of file QREDataLoaderProperties.h.
Referenced by factorLabel(), and updateErrorEnabling().
|
private |
Definition at line 59 of file QREDataLoaderProperties.h.
Referenced by allowFactors(), and updateErrorEnabling().
Ui::QREDataLoaderProperties* QREDataLoaderProperties::m_ui |
Definition at line 38 of file QREDataLoaderProperties.h.
Referenced by QREDataLoaderProperties(), allowFactors(), columnSpinBox(), factorLabel(), factorSpinBox(), onErrorEnablingChanged(), and updateErrorEnabling().