BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Widget for selecting the alignment of a detector (combo box) and input of the corresponding values.
Definition at line 30 of file DetectorAlignmentEditor.h.
Signals | |
void | dataChanged () |
Public Member Functions | |
DetectorAlignmentEditor (QWidget *parent, RectangularDetectorItem *item) | |
Private Member Functions | |
void | addVector (QFormLayout *parentLayout, const VectorDescriptor &d) |
void | createAligmentWidgets () |
DoubleSpinBox * | createSpinBox (QFormLayout *parentFormLayout, const DoubleDescriptor &d) |
DoubleSpinBox * | createSpinBox (QWidget *parent, const DoubleDescriptor &d) |
Private Attributes | |
QFormLayout * | m_formLayout |
RectangularDetectorItem * | m_item |
DetectorAlignmentEditor::DetectorAlignmentEditor | ( | QWidget * | parent, |
RectangularDetectorItem * | item | ||
) |
Definition at line 44 of file DetectorAlignmentEditor.cpp.
References createAligmentWidgets(), GUI::Util::createSelectionCombo(), RectangularDetectorItem::detectorAlignmentSelection(), m_formLayout, and m_item.
|
private |
Definition at line 88 of file DetectorAlignmentEditor.cpp.
References createSpinBox(), VectorDescriptor::label, GUI::Util::labelWithUnit(), VectorDescriptor::x, VectorDescriptor::y, and VectorDescriptor::z.
Referenced by createAligmentWidgets().
|
private |
Definition at line 106 of file DetectorAlignmentEditor.cpp.
References addVector(), createSpinBox(), RectangularDetectorItem::detectorAlignment(), m_formLayout, and m_item.
Referenced by DetectorAlignmentEditor().
|
private |
Definition at line 63 of file DetectorAlignmentEditor.cpp.
References DoubleSpinBox::baseValueChanged(), GUI::Util::createSpinBox(), and DoubleDescriptor::get.
Referenced by addVector(), and createAligmentWidgets().
|
private |
Definition at line 76 of file DetectorAlignmentEditor.cpp.
References DoubleSpinBox::baseValueChanged(), and DoubleDescriptor::get.
|
signal |
Referenced by RectangularDetectorEditor::RectangularDetectorEditor().
|
private |
Definition at line 46 of file DetectorAlignmentEditor.h.
Referenced by DetectorAlignmentEditor(), and createAligmentWidgets().
|
private |
Definition at line 45 of file DetectorAlignmentEditor.h.
Referenced by DetectorAlignmentEditor(), and createAligmentWidgets().