20#ifndef LIBREPCB_EDITOR_NUMBEREDITBASE_H
21#define LIBREPCB_EDITOR_NUMBEREDITBASE_H
29#include <optional.hpp>
The DoubleSpinBox class is a customized QDoubleSpinBox widget.
Definition: doublespinbox.h:45
The NumberEditBase class is a widget base class to edit various kinds of numbers.
Definition: numbereditbase.h:49
virtual ~NumberEditBase() noexcept
Definition: numbereditbase.cpp:59
void setFrame(bool frame) noexcept
Definition: numbereditbase.cpp:80
virtual void updateSpinBox() noexcept=0
void setReadOnly(bool readOnly) noexcept
Definition: numbereditbase.cpp:66
void setSingleStep(tl::optional< double > step) noexcept
Definition: numbereditbase.cpp:70
NumberEditBase(QWidget *parent=nullptr) noexcept
Definition: numbereditbase.cpp:37
NumberEditBase(const NumberEditBase &other)=delete
virtual void spinBoxValueChanged(double value) noexcept=0
QScopedPointer< DoubleSpinBox > mSpinBox
Definition: numbereditbase.h:75
void selectAll() noexcept
Definition: numbereditbase.cpp:84
Definition: occmodel.cpp:77