15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_GROUPINFO_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_GROUPINFO_H
19 #include <QStringList>
29 void add(
const QString& itemType,
const QString& itemLabel);
Defines info for GroupProperty, i.e.
GroupInfo(const QString &groupType="", bool is_sorted=true)
QVector< TypeAndLabel > m_info
QStringList itemLabels() const
void add(const QString &itemType, const QString &itemLabel)
QString m_groupType
Info will be sorted if true, otherwise order of insertion will be preserved.
QString defaultType() const
QStringList itemTypes() const
QString groupType() const
QString m_defaultItemType
Unique group name for GroupInfoCatalog.
bool containsType(const QString &itemType) const
Default model type for given group (i.e. FFCylinder for formfactor group)
void setDefaultType(const QString &modelType)