16 #include "Base/Util/Assert.h"
32 : m_materialItems(materials)
Defines abstract item with a material property.
Defines class MaterialItem.
Defines class MaterialItems.
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.
QString matItemName() const
QString identifier() const
MaterialItem * materialFromIdentifier(const QString &identifier) const