|
BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 24 of file ItemWithParticlesCatalog.h.
Classes | |
| struct | UiInfo |
Public Types | |
| using | CatalogedType = ItemWithParticles |
| enum class | Type : uint8_t { Particle = 1 , Composition = 2 , CoreShell = 3 , MesoCrystal = 4 } |
Static Public Member Functions | |
| static QVector< Type > | assemblyTypes () |
| Available types of assembly items, sorted as expected in the UI (e.g. in combo box) More... | |
| static ItemWithParticles * | create (Type type, const MaterialItems *materials) |
| Creates the item of the given type. More... | |
| static Type | type (const ItemWithParticles *item) |
| Returns the enum type of the given item. More... | |
| static QVector< Type > | types () |
| Available types of items, sorted as expected in the UI (e.g. in combo box) More... | |
| static UiInfo | uiInfo (Type t) |
| UiInfo on the given type. More... | |
Definition at line 26 of file ItemWithParticlesCatalog.h.
|
strong |
| Enumerator | |
|---|---|
| Particle | |
| Composition | |
| CoreShell | |
| MesoCrystal | |
Definition at line 29 of file ItemWithParticlesCatalog.h.
|
static |
Available types of assembly items, sorted as expected in the UI (e.g. in combo box)
Definition at line 42 of file ItemWithParticlesCatalog.cpp.
References Composition, CoreShell, and MesoCrystal.
Referenced by MesoCrystalForm::createBasisCombo().
|
static |
Creates the item of the given type.
If type is "None", a nullptr is returned.
Definition at line 21 of file ItemWithParticlesCatalog.cpp.
References Composition, CoreShell, MesoCrystal, Particle, and type().
Referenced by SampleEditorController::createAndInitParticle().
|
static |
Returns the enum type of the given item.
Definition at line 66 of file ItemWithParticlesCatalog.cpp.
References Composition, CoreShell, MesoCrystal, and Particle.
Referenced by create(), MesoCrystalForm::createBasisCombo(), and uiInfo().
|
static |
Available types of items, sorted as expected in the UI (e.g. in combo box)
Definition at line 37 of file ItemWithParticlesCatalog.cpp.
References Composition, CoreShell, MesoCrystal, and Particle.
|
static |
UiInfo on the given type.
Definition at line 47 of file ItemWithParticlesCatalog.cpp.
References Composition, CoreShell, MesoCrystal, Particle, and type().
Referenced by LayerEditorUtils::createAddParticleButton(), and MesoCrystalForm::createBasisCombo().