BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The MinimizerSettingsWidget contains editor for all minimizer settings and related fit options. Part of FitSuiteWidget.
Definition at line 34 of file MinimizerSettingsWidget.h.
Public Slots | |
void | setItem (JobItem *jobItem) |
void | setItem (MinimizerContainerItem *minimizerItem) |
Public Member Functions | |
MinimizerSettingsWidget (QWidget *parent=nullptr) | |
Private Member Functions | |
QWidget * | createComboBox (SelectionDescriptor< QString > d) |
QWidget * | createDoubleSpinbox (DoubleDescriptor d) |
void | createMimimizerEdits () |
QWidget * | createSpinbox (UIntDescriptor d) |
void | updateUIValues () |
Private Attributes | |
MinimizerContainerItem * | m_currentItem |
QFormLayout * | m_mainLayout |
QFormLayout * | m_minimizerLayout |
QList< function< void()> > | m_updaters |
MinimizerSettingsWidget::MinimizerSettingsWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 27 of file MinimizerSettingsWidget.cpp.
References m_mainLayout.
|
private |
Definition at line 79 of file MinimizerSettingsWidget.cpp.
References SelectionDescriptor< T >::currentIndex(), m_updaters, SelectionDescriptor< T >::options, SelectionDescriptor< T >::setCurrentIndex(), and SelectionDescriptor< T >::tooltip.
Referenced by createMimimizerEdits(), and setItem().
|
private |
Definition at line 97 of file MinimizerSettingsWidget.cpp.
References DoubleSpinBox::baseValueChanged(), m_updaters, DoubleDescriptor::set, and DoubleDescriptor::tooltip.
Referenced by createMimimizerEdits().
|
private |
Definition at line 134 of file MinimizerSettingsWidget.cpp.
References GUI::Util::Layout::clearLayout(), createComboBox(), createDoubleSpinbox(), createSpinbox(), m_currentItem, m_minimizerLayout, and MinimizerContainerItem::minimizers().
Referenced by setItem().
|
private |
Definition at line 109 of file MinimizerSettingsWidget.cpp.
References UIntDescriptor::get, UIntDescriptor::limits, m_updaters, UIntDescriptor::set, and UIntDescriptor::tooltip.
Referenced by createMimimizerEdits().
|
slot |
Definition at line 40 of file MinimizerSettingsWidget.cpp.
References JobItem::fitSuiteItem(), and FitSuiteItem::minimizerContainerItem().
Referenced by FitSessionWidget::setItem().
|
slot |
Definition at line 46 of file MinimizerSettingsWidget.cpp.
References GUI::Util::Layout::clearLayout(), createComboBox(), createMimimizerEdits(), GUI::Util::createSelectionCombo(), m_currentItem, m_mainLayout, m_minimizerLayout, m_updaters, MinimizerContainerItem::minimizers(), MinimizerContainerItem::normFunction(), MinimizerContainerItem::objectiveMetric(), and updateUIValues().
|
private |
Definition at line 152 of file MinimizerSettingsWidget.cpp.
References m_updaters.
Referenced by setItem().
|
private |
Definition at line 54 of file MinimizerSettingsWidget.h.
Referenced by createMimimizerEdits(), and setItem().
|
private |
Definition at line 55 of file MinimizerSettingsWidget.h.
Referenced by MinimizerSettingsWidget(), and setItem().
|
private |
Definition at line 56 of file MinimizerSettingsWidget.h.
Referenced by createMimimizerEdits(), and setItem().
|
private |
Definition at line 57 of file MinimizerSettingsWidget.h.
Referenced by createComboBox(), createDoubleSpinbox(), createSpinbox(), setItem(), and updateUIValues().