BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
DistributionSelector as above but contained in a GroupBox with a title and a button to open the distribution dialog.
Definition at line 85 of file DistributionEditor.h.
Signals | |
void | distributionChanged () |
Public Member Functions | |
DistributionEditor (const QString &title, const std::optional< MeanConfig > &mean_config, GUI::ID::Distributions distributions, QWidget *parent, BeamDistributionItem *item) | |
void | updateData () |
Update UI from data. More... | |
Private Member Functions | |
void | updatePlot () |
Private Attributes | |
DistributionPlot * | m_plot |
DistributionSelector * | m_selector |
DistributionEditor::DistributionEditor | ( | const QString & | title, |
const std::optional< MeanConfig > & | mean_config, | ||
GUI::ID::Distributions | distributions, | ||
QWidget * | parent, | ||
BeamDistributionItem * | item | ||
) |
Definition at line 165 of file DistributionEditor.cpp.
References DistributionSelector::distributionChanged(), distributionChanged(), GroupBoxCollapser::installIntoGroupBox(), m_plot, m_selector, DistributionPlot::setShowMouseCoords(), and updatePlot().
|
signal |
void DistributionEditor::updateData | ( | ) |
Update UI from data.
Definition at line 193 of file DistributionEditor.cpp.
References m_selector, and DistributionSelector::refresh().
Referenced by SpecularBeamEditor::SpecularBeamEditor().
|
private |
Definition at line 198 of file DistributionEditor.cpp.
References BeamDistributionItem::distribution(), DistributionSelector::item(), m_plot, m_selector, DistributionPlot::plotItem(), and DistributionPlot::setItem().
Referenced by DistributionEditor().
|
private |
Definition at line 103 of file DistributionEditor.h.
Referenced by DistributionEditor(), and updatePlot().
|
private |
Definition at line 102 of file DistributionEditor.h.
Referenced by DistributionEditor(), updateData(), and updatePlot().