20 #ifndef LIBREPCB_EDITOR_POSITIVELENGTHEDIT_H 21 #define LIBREPCB_EDITOR_POSITIVELENGTHEDIT_H Definition: occmodel.cpp:77
void clipToMinimum(const PositiveLength &value) noexcept
Definition: positivelengthedit.cpp:64
PositiveLength getValue() const noexcept
Definition: positivelengthedit.cpp:48
virtual ~PositiveLengthEdit() noexcept
Definition: positivelengthedit.cpp:41
void clipToMaximum(const PositiveLength &value) noexcept
Definition: positivelengthedit.cpp:70
PositiveLengthEdit & operator=(const PositiveLengthEdit &rhs)=delete
virtual void valueChangedImpl(const Length &diff) noexcept override
Definition: positivelengthedit.cpp:80
PositiveLengthEdit(QWidget *parent=nullptr) noexcept
Definition: positivelengthedit.cpp:37
void valueChanged(const librepcb::PositiveLength &value, const librepcb::Length &diff)
The LengthEditBase class.
Definition: lengtheditbase.h:47
The PositiveLengthEdit class is a widget to view/edit librepcb::PositiveLength values.
Definition: positivelengthedit.h:42
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:812
void setValue(const PositiveLength &value) noexcept
Definition: positivelengthedit.cpp:60
The Length class is used to represent a length (for example 12.75 millimeters)
Definition: length.h:83