LibrePCB Developers Documentation
|
The UnsignedLimitedRatioEdit class is a widget to view/edit librepcb::UnsignedLimitedRatio values. More...
#include <unsignedlimitedratioedit.h>
Signals | |
void | valueChanged (const UnsignedLimitedRatio &value) |
Signals inherited from NumberEditBase | |
void | editingFinished () |
Public Member Functions | |
UnsignedLimitedRatioEdit (QWidget *parent=nullptr) noexcept | |
UnsignedLimitedRatioEdit (const UnsignedLimitedRatioEdit &other)=delete | |
virtual | ~UnsignedLimitedRatioEdit () noexcept |
const UnsignedLimitedRatio & | getValue () const noexcept |
void | setValue (const UnsignedLimitedRatio &value) noexcept |
UnsignedLimitedRatioEdit & | operator= (const UnsignedLimitedRatioEdit &rhs)=delete |
Public Member Functions inherited from NumberEditBase | |
NumberEditBase (QWidget *parent=nullptr) noexcept | |
NumberEditBase (const NumberEditBase &other)=delete | |
virtual | ~NumberEditBase () noexcept |
void | setReadOnly (bool readOnly) noexcept |
void | setSingleStep (tl::optional< double > step) noexcept |
void | setFrame (bool frame) noexcept |
void | selectAll () noexcept |
NumberEditBase & | operator= (const NumberEditBase &rhs)=delete |
Private Member Functions | |
void | updateSpinBox () noexcept override |
void | spinBoxValueChanged (double value) noexcept override |
Private Attributes | |
UnsignedLimitedRatio | mMinValue |
UnsignedLimitedRatio | mMaxValue |
UnsignedLimitedRatio | mValue |
Additional Inherited Members | |
virtual void | updateSpinBox () noexcept=0 |
virtual void | spinBoxValueChanged (double value) noexcept=0 |
Protected Attributes inherited from NumberEditBase | |
QScopedPointer< DoubleSpinBox > | mSpinBox |
The UnsignedLimitedRatioEdit class is a widget to view/edit librepcb::UnsignedLimitedRatio values.
|
explicitnoexcept |
|
delete |
|
virtualnoexcept |
|
inlinenoexcept |
|
noexcept |
|
delete |
|
signal |
|
overrideprivatevirtualnoexcept |
Implements NumberEditBase.
|
overrideprivatevirtualnoexcept |
|
private |
|
private |
|
private |