15 #ifndef BORNAGAIN_GUI_MODEL_SAMPLE_ITEMWITHMATERIAL_H
16 #define BORNAGAIN_GUI_MODEL_SAMPLE_ITEMWITHMATERIAL_H
QString materialIdentifier() const
QString m_materialIdentifier
void setMaterial(const MaterialItem *materialItem)
Set the material this item shall use. Stores the identifier, not the pointer!
const MaterialItems * m_materialItems
QString materialName() const
ItemWithMaterial(const MaterialItems *materials)
Overhand the material list where the current material has to be searched for.
void setMaterialUndefined()
Set "no material defined".
QColor materialColor() const
MaterialItem * materialItem() const
Returns the material item this item links to.