void dataChanged(QVariant value)
Emmits signal when data was changed in an editor.
virtual bool is_persistent() const
Returns true if editor should remains alive after editing finished.
void setData(const QVariant &data)
Sets the data from model to editor.
CustomEditor(QWidget *parent=nullptr)
virtual void update_components()=0
Should update widget components from m_data, if necessary.
void setDataIntern(const QVariant &data)
Saves the data as given by editor's internal components and notifies the model.
materialitems.h Collection of materials to populate MaterialModel.