BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 23 of file DetectorItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = DetectorItem |
enum class | Type : uint8_t { Spherical = 0 , Rectangular = 1 } |
Static Public Member Functions | |
static DetectorItem * | create (Type type) |
Creates the item of the given type. More... | |
static Type | type (const DetectorItem *item) |
Returns the enum type of the given item. More... | |
static QVector< Type > | types () |
Available types of items. More... | |
static UiInfo | uiInfo (Type t) |
UiInfo on the given type. More... | |
Definition at line 25 of file DetectorItemCatalog.h.
|
strong |
Enumerator | |
---|---|
Spherical | |
Rectangular |
Definition at line 28 of file DetectorItemCatalog.h.
|
static |
Creates the item of the given type.
Definition at line 20 of file DetectorItemCatalog.cpp.
References Rectangular, Spherical, and type().
|
static |
Returns the enum type of the given item.
Definition at line 47 of file DetectorItemCatalog.cpp.
References Rectangular, and Spherical.
|
static |
Available types of items.
This list is sorted as expected in the UI (e.g. in combo box)
Definition at line 31 of file DetectorItemCatalog.cpp.
References Rectangular, and Spherical.
|
static |
UiInfo on the given type.
Definition at line 36 of file DetectorItemCatalog.cpp.
References Rectangular, Spherical, and type().