20#ifndef LIBREPCB_EDITOR_POSITIVELENGTHEDIT_H
21#define LIBREPCB_EDITOR_POSITIVELENGTHEDIT_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 PositiveLengthEdit class is a widget to view/edit librepcb::PositiveLength values.
Definition: positivelengthedit.h:42
virtual ~PositiveLengthEdit() noexcept
Definition: positivelengthedit.cpp:41
void clipToMinimum(const PositiveLength &value) noexcept
Definition: positivelengthedit.cpp:64
PositiveLength getValue() const noexcept
Definition: positivelengthedit.cpp:48
void valueChanged(const librepcb::PositiveLength &value, const librepcb::Length &diff)
void clipToMaximum(const PositiveLength &value) noexcept
Definition: positivelengthedit.cpp:70
void setValue(const PositiveLength &value) noexcept
Definition: positivelengthedit.cpp:60
PositiveLengthEdit(const PositiveLengthEdit &other)=delete
virtual void valueChangedImpl(const Length &diff) noexcept override
Definition: positivelengthedit.cpp:80
PositiveLengthEdit(QWidget *parent=nullptr) noexcept
Definition: positivelengthedit.cpp:37
Definition: occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:812