LibrePCB Developers Documentation
|
The UnsignedRatioEdit class is a widget to view/edit librepcb::UnsignedRatio values. More...
#include <unsignedratioedit.h>
Signals | |
void | valueChanged (const UnsignedRatio &value) |
Signals inherited from NumberEditBase | |
void | editingFinished () |
Public Member Functions | |
UnsignedRatioEdit (QWidget *parent=nullptr) noexcept | |
UnsignedRatioEdit (const UnsignedRatioEdit &other)=delete | |
virtual | ~UnsignedRatioEdit () noexcept |
const UnsignedRatio & | getValue () const noexcept |
void | setValue (const UnsignedRatio &value) noexcept |
UnsignedRatioEdit & | operator= (const UnsignedRatioEdit &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 | |
UnsignedRatio | mMinValue |
UnsignedRatio | mMaxValue |
UnsignedRatio | 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 UnsignedRatioEdit class is a widget to view/edit librepcb::UnsignedRatio values.
|
explicitnoexcept |
|
delete |
|
virtualnoexcept |
|
inlinenoexcept |
|
noexcept |
|
delete |
|
signal |
|
overrideprivatevirtualnoexcept |
Implements NumberEditBase.
|
overrideprivatevirtualnoexcept |
|
private |
|
private |
|
private |