20#ifndef LIBREPCB_EDITOR_UNSIGNEDLIMITEDRATIOEDIT_H
21#define LIBREPCB_EDITOR_UNSIGNEDLIMITEDRATIOEDIT_H
26#include "../widgets/numbereditbase.h"
The NumberEditBase class is a widget base class to edit various kinds of numbers.
Definition numbereditbase.h:49
The UnsignedLimitedRatioEdit class is a widget to view/edit librepcb::UnsignedLimitedRatio values.
Definition unsignedlimitedratioedit.h:47
UnsignedLimitedRatioEdit & operator=(const UnsignedLimitedRatioEdit &rhs)=delete
void valueChanged(const UnsignedLimitedRatio &value)
UnsignedLimitedRatioEdit(const UnsignedLimitedRatioEdit &other)=delete
virtual ~UnsignedLimitedRatioEdit() noexcept
Definition unsignedlimitedratioedit.cpp:46
void spinBoxValueChanged(double value) noexcept override
Definition unsignedlimitedratioedit.cpp:71
UnsignedLimitedRatio mMaxValue
Definition unsignedlimitedratioedit.h:75
const UnsignedLimitedRatio & getValue() const noexcept
Definition unsignedlimitedratioedit.h:57
UnsignedLimitedRatio mMinValue
Definition unsignedlimitedratioedit.h:74
void updateSpinBox() noexcept override
Definition unsignedlimitedratioedit.cpp:65
void setValue(const UnsignedLimitedRatio &value) noexcept
Definition unsignedlimitedratioedit.cpp:53
UnsignedLimitedRatio mValue
Definition unsignedlimitedratioedit.h:76
Definition occmodel.cpp:76
type_safe::constrained_type< Ratio, UnsignedLimitedRatioConstraint, UnsignedLimitedRatioVerifier > UnsignedLimitedRatio
Definition ratio.h:376