15 #ifndef BORNAGAIN_GUI_VIEW_COMMON_DOUBLELINEEDIT_H
16 #define BORNAGAIN_GUI_VIEW_COMMON_DOUBLELINEEDIT_H
21 class QDoubleValidator;
Defines class DoubleDescriptor.
Describes properties of a double value which are necessary to allow GUI representation,...
LineEdit to edit values in a scientific notation, operating on a DoubleDescriptor.
const DoubleDescriptor & valueDescriptor() const
The descriptor on which this line edit operates.
void baseValueChanged(double newBaseValue)
Emitted whenever the value changes.
DoubleLineEdit(QWidget *parent, const DoubleDescriptor &d)
void setBaseValue(double baseValue)
Set the base value (unit is the one of the contained descriptor).
QDoubleValidator * m_validator
DoubleDescriptor m_valueDescriptor