15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_SCIENTIFICSPINBOXEDITOR_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_EDITORS_SCIENTIFICSPINBOXEDITOR_H
32 void setRange(
double minimum,
double maximum);
33 void setDecimals(
int decimals);
34 void setSingleStep(
double step);
36 bool is_persistent()
const override;
39 void onEditingFinished();
42 void update_components()
override;
Base class for all custom variant editors.
Custom editor for QVariant based on double with scientific notation support.
ScientificSpinBox * m_doubleEditor
materialitems.h Collection of materials to populate MaterialModel.