15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_MATERIALEDITOR_MATERIALEDITORDIALOG_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_MATERIALEDITOR_MATERIALEDITORDIALOG_H
The ExternalProperty class defines custom QVariant property to carry the text, color and an identifie...
Dialog to hold MaterialEditor.
void init_material_editor()
void setMaterialProperty(const ExternalProperty &matProperty)
std::unique_ptr< MaterialModel > m_tmpMaterialModel
QBoxLayout * createButtonLayout()
MaterialEditor * m_materialEditor
MaterialEditorDialog(MaterialModel *materialModel, QWidget *parent=nullptr)
void onOKButton()
replaces original material model with the model modified by MaterialEditor
ExternalProperty selectedMaterialProperty()
MaterialModel * m_origMaterialModel
Main widget of MaterialEditor.