BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MaterialItemUtils.h File Reference

Defines class MaterialItemUtils. More...

Include dependency graph for MaterialItemUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MaterialItemUtils
 

Functions

ExternalProperty MaterialItemUtils::colorProperty (const QColor &color)
 Constructs color property from given color. More...
 
std::unique_ptr< MaterialMaterialItemUtils::createDomainMaterial (const ExternalProperty &material_property)
 
std::unique_ptr< MaterialMaterialItemUtils::createDomainMaterial (const ExternalProperty &material_property, const MaterialItemContainer &container)
 
ExternalProperty MaterialItemUtils::defaultMaterialProperty ()
 
MaterialItemMaterialItemUtils::findMaterial (const ExternalProperty &material_property)
 
ExternalProperty MaterialItemUtils::materialProperty (const SessionItem &materialItem)
 Constructs material property corresponding to given material. More...
 
QVector< SessionItem * > MaterialItemUtils::materialPropertyItems (SessionItem *item)
 Gather material property items from a given item. More...
 
QStringList MaterialItemUtils::materialRelatedModelTypes ()
 Returns list of model types which contains registered MaterialProperty. More...
 
QString MaterialItemUtils::materialTag (const SessionItem &item)
 Returns material tag for given item. Returns empty string, if item doesn't have materials. More...
 
ExternalProperty MaterialItemUtils::selectColorProperty (const ExternalProperty &previous=ExternalProperty())
 Calls color selector dialog. More...
 
ExternalProperty MaterialItemUtils::selectMaterialProperty (const ExternalProperty &previous=ExternalProperty())
 Calls material selector dialog. More...
 
QColor MaterialItemUtils::suggestMaterialColor (const QString &name)
 

Detailed Description

Defines class MaterialItemUtils.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file MaterialItemUtils.h.