LibrePCB Developers Documentation
|
The RatioEdit class is a widget to view/edit librepcb::Ratio values. More...
#include <ratioedit.h>
Signals | |
void | valueChanged (const Ratio &value) |
Signals inherited from NumberEditBase | |
void | editingFinished () |
Public Member Functions | |
RatioEdit (QWidget *parent=nullptr) noexcept | |
RatioEdit (const RatioEdit &other)=delete | |
virtual | ~RatioEdit () noexcept |
const Ratio & | getValue () const noexcept |
void | setValue (const Ratio &value) noexcept |
RatioEdit & | operator= (const RatioEdit &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 (std::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 | |
Ratio | mMinValue |
Ratio | mMaxValue |
Ratio | mValue |
Additional Inherited Members | |
Protected Attributes inherited from NumberEditBase | |
QScopedPointer< DoubleSpinBox > | mSpinBox |
The RatioEdit class is a widget to view/edit librepcb::Ratio values.
|
explicitnoexcept |
|
virtualnoexcept |
|
inlinenoexcept |
|
noexcept |
|
signal |
|
overrideprivatevirtualnoexcept |
|
overrideprivatevirtualnoexcept |
|
private |
|
private |
|
private |