BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Form for editing lattice type values.
Definition at line 27 of file LatticeTypeSelectionForm.h.
Public Member Functions | |
LatticeTypeSelectionForm (QWidget *parent, Interference2DAbstractLatticeItem *interferenceItem, SampleEditorController *ec) | |
virtual void | createContent () override |
Interference2DAbstractLatticeItem * | interferenceItem () const |
void | onIntegrateOverXiChanged () |
void | updateXiVisibility () |
Protected Member Functions | |
template<typename T > | |
void | initUI (const SelectionDescriptor< T > &d) |
Protected Attributes | |
QComboBox * | m_combo |
SampleEditorController * | m_ec |
QGridLayout * | m_gridLayout |
Private Member Functions | |
void | clear () |
Remove all descriptors from the layout. More... | |
Private Attributes | |
QCheckBox * | m_integrateOverXiCheckBox |
Interference2DAbstractLatticeItem * | m_interferenceItem |
QLabel * | m_xiLabel |
LatticeTypeSelectionForm::LatticeTypeSelectionForm | ( | QWidget * | parent, |
Interference2DAbstractLatticeItem * | interferenceItem, | ||
SampleEditorController * | ec | ||
) |
Definition at line 21 of file LatticeTypeSelectionForm.cpp.
References AbstractSelectionContainerForm::initUI(), interferenceItem(), and Interference2DAbstractLatticeItem::latticeType().
|
inlineprivateinherited |
Remove all descriptors from the layout.
Definition at line 66 of file SelectionContainerForm.h.
References GUI::Util::Layout::clearLayout(), and AbstractSelectionContainerForm::m_gridLayout.
Referenced by AbstractSelectionContainerForm::initUI().
|
overridevirtual |
Implements AbstractSelectionContainerForm.
Definition at line 30 of file LatticeTypeSelectionForm.cpp.
References LayerEditorUtils::addMultiPropertyToGrid(), Interference2DAbstractLatticeItem::latticeType(), AbstractSelectionContainerForm::m_ec, AbstractSelectionContainerForm::m_gridLayout, m_integrateOverXiCheckBox, m_interferenceItem, m_xiLabel, SampleEditorController::setDensityRelatedValue(), SampleEditorController::setIntegrateOverXi(), updateXiVisibility(), and Interference2DAbstractLatticeItem::xiIntegration().
|
inlineprotectedinherited |
Definition at line 42 of file SelectionContainerForm.h.
References AbstractSelectionContainerForm::clear(), AbstractSelectionContainerForm::createContent(), SelectionDescriptor< T >::currentIndex(), WheelEventEater::install(), AbstractSelectionContainerForm::m_combo, AbstractSelectionContainerForm::m_ec, AbstractSelectionContainerForm::m_gridLayout, SelectionDescriptor< T >::options, and SampleEditorController::setCurrentIndex().
Referenced by LatticeTypeSelectionForm(), and SelectionContainerForm::SelectionContainerForm().
Interference2DAbstractLatticeItem * LatticeTypeSelectionForm::interferenceItem | ( | ) | const |
Definition at line 72 of file LatticeTypeSelectionForm.cpp.
References m_interferenceItem.
Referenced by LatticeTypeSelectionForm(), and SampleEditorController::setIntegrateOverXi().
void LatticeTypeSelectionForm::onIntegrateOverXiChanged | ( | ) |
Definition at line 59 of file LatticeTypeSelectionForm.cpp.
References m_integrateOverXiCheckBox, m_interferenceItem, updateXiVisibility(), and Interference2DAbstractLatticeItem::xiIntegration().
Referenced by SampleEditorController::setIntegrateOverXi().
void LatticeTypeSelectionForm::updateXiVisibility | ( | ) |
Definition at line 66 of file LatticeTypeSelectionForm.cpp.
References m_interferenceItem, m_xiLabel, and Interference2DAbstractLatticeItem::xiIntegration().
Referenced by createContent(), and onIntegrateOverXiChanged().
|
protectedinherited |
Definition at line 76 of file SelectionContainerForm.h.
Referenced by AbstractSelectionContainerForm::initUI().
|
protectedinherited |
Definition at line 77 of file SelectionContainerForm.h.
Referenced by SelectionContainerForm::createContent(), createContent(), and AbstractSelectionContainerForm::initUI().
|
protectedinherited |
Definition at line 75 of file SelectionContainerForm.h.
Referenced by AbstractSelectionContainerForm::clear(), SelectionContainerForm::createContent(), createContent(), and AbstractSelectionContainerForm::initUI().
|
private |
Definition at line 41 of file LatticeTypeSelectionForm.h.
Referenced by createContent(), and onIntegrateOverXiChanged().
|
private |
Definition at line 39 of file LatticeTypeSelectionForm.h.
Referenced by createContent(), interferenceItem(), onIntegrateOverXiChanged(), and updateXiVisibility().
|
private |
Definition at line 40 of file LatticeTypeSelectionForm.h.
Referenced by createContent(), and updateXiVisibility().