15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_DOUBLEEDITOR_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_DOUBLEEDITOR_H
32 void setRange(
double minimum,
double maximum);
34 void setDecimals(
int decimals);
36 void setSingleStep(
double value);
39 void onEditingFinished();
42 void update_components()
override;
Base class for all custom variant editors.
Custom editor for QVariant based on double with possibility to set limits.
QDoubleSpinBox * m_doubleEditor
materialitems.h Collection of materials to populate MaterialModel.