|
BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Use this to edit an AxisProperty.
An AxisProperty handles values for a FixedBinAxis. The values will be already written into the data element. For each change of values, a signal will be emitted. Use this e.g. to update dependent values or to set the document to modified.
Definition at line 29 of file AxisPropertyEditor.h.
Signals | |
| void | dataChanged () |
Public Member Functions | |
| AxisPropertyEditor (QWidget *parent, const QString &groupTitle, AxisProperty *axisProperty) | |
| void | updateData () |
| Reload UI from data. More... | |
Private Attributes | |
| AxisProperty * | m_axisProperty |
| DoubleSpinBox * | m_maxSpinBox |
| DoubleSpinBox * | m_minSpinBox |
| QSpinBox * | m_nbinsSpinBox |
| AxisPropertyEditor::AxisPropertyEditor | ( | QWidget * | parent, |
| const QString & | groupTitle, | ||
| AxisProperty * | axisProperty | ||
| ) |
Definition at line 24 of file AxisPropertyEditor.cpp.
References DoubleSpinBox::baseValueChanged(), GUI::Util::createSpinBox(), GroupBoxCollapser::installIntoGroupBox(), m_axisProperty, m_maxSpinBox, m_minSpinBox, and m_nbinsSpinBox.
|
signal |
| void AxisPropertyEditor::updateData | ( | ) |
Reload UI from data.
Definition at line 69 of file AxisPropertyEditor.cpp.
References m_axisProperty, m_maxSpinBox, m_minSpinBox, m_nbinsSpinBox, and DoubleSpinBox::updateValue().
|
private |
Definition at line 42 of file AxisPropertyEditor.h.
Referenced by AxisPropertyEditor(), and updateData().
|
private |
Definition at line 44 of file AxisPropertyEditor.h.
Referenced by AxisPropertyEditor(), and updateData().
|
private |
Definition at line 43 of file AxisPropertyEditor.h.
Referenced by AxisPropertyEditor(), and updateData().
|
private |
Definition at line 41 of file AxisPropertyEditor.h.
Referenced by AxisPropertyEditor(), and updateData().