15 #ifndef BORNAGAIN_GUI_SUPPORT_TYPE_GROUPINFO_H
16 #define BORNAGAIN_GUI_SUPPORT_TYPE_GROUPINFO_H
19 #include <QStringList>
29 void add(
const QString& itemType,
const QString& itemLabel);
Defines info for GroupProperty, i.e. collection of model types, their labels and the name of default ...
QVector< TypeAndLabel > m_info
QStringList itemLabels() const
void add(const QString &itemType, const QString &itemLabel)
QString defaultType() const
QStringList itemTypes() const
GroupInfo(bool is_sorted=true)
QString m_defaultItemType
Info will be sorted if true, otherwise order of insertion will be preserved.
bool containsType(const QString &itemType) const
Default model type for given group (i.e. FFCylinder for formfactor group)