BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 23 of file FootprintItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = FootprintItem |
enum class | Type : uint8_t { None = 0 , Gaussian = 1 , Square = 2 } |
Static Public Member Functions | |
static FootprintItem * | create (Type type) |
Creates the item of the given type. More... | |
static Type | type (const FootprintItem *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 FootprintItemCatalog.h.
|
strong |
|
static |
Creates the item of the given type.
Definition at line 19 of file FootprintItemCatalog.cpp.
References Gaussian, None, Square, and type().
|
static |
Returns the enum type of the given item.
Definition at line 50 of file FootprintItemCatalog.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 FootprintItemCatalog.cpp.
|
static |