15 #ifndef BORNAGAIN_GUI_MODEL_SAMPLE_LAYERITEM_H
16 #define BORNAGAIN_GUI_MODEL_SAMPLE_LAYERITEM_H
32 class QXmlStreamReader;
33 class QXmlStreamWriter;
54 QVector<ParticleLayoutItem*>
layouts()
const;
Defines class DoubleProperty.
Defines abstract item with a material property.
Defines classes LayerRoughnessItems.
Defines class SelectionDescriptor.
Defines class UIntProperty.
Describes properties of a double value which are necessary to allow GUI representation,...
Class for representing a double value, its attributes and its accessors.
LayerItem(const MaterialItems *materials)
void setIsTopLayer(bool b)
void setLayerName(const QString &name)
UIntDescriptor numSlices() const
ParticleLayoutItem * addLayout()
void setColor(const QColor &color)
std::unique_ptr< LayerBasicRoughnessItem > m_topRoughness
void setIsBottomLayer(bool b)
DoubleProperty m_thickness
QVector< ItemWithParticles * > itemsWithParticles() const
bool isBottomLayer() const
QVector< ParticleLayoutItem * > layouts() const
QVector< ParticleLayoutItem * > m_layouts
DoubleDescriptor thickness() const
void removeLayout(ParticleLayoutItem *layout)
QVector< ItemWithMaterial * > itemsWithMaterial()
void serialize(Streamer &s)
QString layerName() const
SelectionDescriptor< LayerBasicRoughnessItem * > roughness()
Describes a selection (various possibilities and the current one).
Supports serialization to or deserialization from QXmlStream.
Describes properties of a uint value which are necessary to allow GUI representation,...
Class for representing a uint value, its attributes and its accessors.
QString const & name(EShape k)