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