![]() |
LibrePCB Developers Documentation
|
The PositiveLengthEdit class is a widget to view/edit librepcb::PositiveLength values. More...
#include <positivelengthedit.h>
Signals | |
void | valueChanged (const PositiveLength &value) |
![]() | |
void | editingFinished () |
Public Member Functions | |
PositiveLengthEdit (QWidget *parent=nullptr) noexcept | |
PositiveLengthEdit (const PositiveLengthEdit &other)=delete | |
virtual | ~PositiveLengthEdit () noexcept |
const PositiveLength & | getValue () const noexcept |
void | setValue (const PositiveLength &value) noexcept |
void | setUnit (const LengthUnit &unit) noexcept |
PositiveLengthEdit & | operator= (const PositiveLengthEdit &rhs)=delete |
![]() | |
NumberEditBase (QWidget *parent=nullptr) noexcept | |
NumberEditBase (const NumberEditBase &other)=delete | |
virtual | ~NumberEditBase () 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 () noexceptoverride |
void | spinBoxValueChanged (double value) noexceptoverride |
Private Attributes | |
PositiveLength | mMinValue |
PositiveLength | mMaxValue |
PositiveLength | mValue |
LengthUnit | mUnit |
Additional Inherited Members | |
![]() | |
QScopedPointer< DoubleSpinBox > | mSpinBox |
The PositiveLengthEdit class is a widget to view/edit librepcb::PositiveLength values.
|
explicitnoexcept |
|
delete |
|
virtualnoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
delete |
|
signal |
|
overrideprivatevirtualnoexcept |
|
overrideprivatevirtualnoexcept |
|
private |
|
private |
|
private |
|
private |