20#ifndef LIBREPCB_EDITOR_UNSIGNEDRATIOEDIT_H
21#define LIBREPCB_EDITOR_UNSIGNEDRATIOEDIT_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 UnsignedRatioEdit class is a widget to view/edit librepcb::UnsignedRatio values.
Definition unsignedratioedit.h:47
UnsignedRatio mMinValue
Definition unsignedratioedit.h:73
void spinBoxValueChanged(double value) noexcept override
Definition unsignedratioedit.cpp:75
UnsignedRatio mValue
Definition unsignedratioedit.h:75
UnsignedRatioEdit & operator=(const UnsignedRatioEdit &rhs)=delete
UnsignedRatio mMaxValue
Definition unsignedratioedit.h:74
void setValue(const UnsignedRatio &value) noexcept
Definition unsignedratioedit.cpp:53
virtual ~UnsignedRatioEdit() noexcept
Definition unsignedratioedit.cpp:46
void valueChanged(const UnsignedRatio &value)
const UnsignedRatio & getValue() const noexcept
Definition unsignedratioedit.h:57
UnsignedRatioEdit(const UnsignedRatioEdit &other)=delete
void updateSpinBox() noexcept override
Definition unsignedratioedit.cpp:69
Definition occmodel.cpp:76
type_safe::constrained_type< Ratio, UnsignedRatioConstraint, UnsignedRatioVerifier > UnsignedRatio
Definition ratio.h:328