BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 23 of file BackgroundItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = BackgroundItem |
enum class | Type : uint8_t { None = 0 , Constant = 1 , Poission = 2 } |
Static Public Member Functions | |
static BackgroundItem * | create (Type type) |
Creates the item of the given type. More... | |
static Type | type (const BackgroundItem *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 BackgroundItemCatalog.h.
|
strong |
|
static |
Creates the item of the given type.
Definition at line 19 of file BackgroundItemCatalog.cpp.
References Constant, None, Poission, and type().
|
static |
Returns the enum type of the given item.
Definition at line 50 of file BackgroundItemCatalog.cpp.
|
static |
Available types of items.
Contains also type "None". This list is sorted as expected in the UI (e.g. in combo box)
Definition at line 32 of file BackgroundItemCatalog.cpp.
|
static |