23#include <QAbstractSpinBox>
68 QValidator::State
validate(QString &input,
int &pos)
const override;
#define EXPORT_OPT_MANTIDQT_COMMON
double value
The value of the point.
A QDoubleSpinBox allowing to customize numbers display with respect to.
void setSingleStep(double val)
void setRange(double min, double max)
void setFormat(const char format, int prec=1)
QValidator::State validate(QString &input, int &pos) const override
void setDecimals(int prec)
std::map< QString, double > m_specialTextMappings
void setMaximum(double max)
void setMinimum(double min)
void valueChanged(double d)
void interpretText(bool notify=true)
void addSpecialTextMapping(const QString &text, double value)
DoubleSpinBox(const char format='g', QWidget *parent=nullptr)
Constructor.
QString textFromValue(double value) const
void focusInEvent(QFocusEvent *) override
void activated(DoubleSpinBox *)
Signal emitted when the spin box gains focus.
StepEnabled stepEnabled() const override
void stepBy(int steps) override
bool setValue(double val)
A checkable DoubleSpinBox that can be used to select the limits of a double.
DoubleSpinBox * d_spin_box
RangeLimitBox(LimitType type, QWidget *parent=nullptr)
void setDecimals(int prec)