BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Class that generates GUI model from.
Functions | |
std::tuple< QString, QString > | exampleInfo (const QString &name) |
Returns human readable name and description. More... | |
QStringList | exampleNames () |
The internal example name, e.g. for creation with itemizeSample. More... | |
bool | isValidExampleName (const QString &name) |
MultiLayerItem * | itemizeSample (const QString &name) |
Create a sample item of the built-in example with the given internal name. More... | |
std::tuple< QString, QString > GUI::ExamplesFactory::exampleInfo | ( | const QString & | name | ) |
Returns human readable name and description.
Definition at line 83 of file GUIExamplesFactory.cpp.
References isValidExampleName(), and GUI::RealSpace::Particles::name().
Referenced by SampleListView::SampleListView().
QStringList GUI::ExamplesFactory::exampleNames | ( | ) |
The internal example name, e.g. for creation with itemizeSample.
Definition at line 78 of file GUIExamplesFactory.cpp.
Referenced by SampleListView::SampleListView().
bool GUI::ExamplesFactory::isValidExampleName | ( | const QString & | name | ) |
Definition at line 65 of file GUIExamplesFactory.cpp.
References GUI::RealSpace::Particles::name().
Referenced by exampleInfo(), and itemizeSample().
MultiLayerItem * GUI::ExamplesFactory::itemizeSample | ( | const QString & | name | ) |
Create a sample item of the built-in example with the given internal name.
Definition at line 70 of file GUIExamplesFactory.cpp.
References isValidExampleName(), GUI::Transform::FromCore::itemizeSample(), and GUI::RealSpace::Particles::name().
Referenced by SampleListModel::createSampleFromExamples().