LibrePCB Developers Documentation
DoubleSpinBox Class Referencefinal

The DoubleSpinBox class is a customized QDoubleSpinBox widget. More...

#include <doublespinbox.h>

Inherits QDoubleSpinBox.

+ Collaboration diagram for DoubleSpinBox:

Public Member Functions

 DoubleSpinBox (QWidget *parent=nullptr) noexcept
 
 DoubleSpinBox (const DoubleSpinBox &other)=delete
 
virtual ~DoubleSpinBox () noexcept
 
DoubleSpinBoxoperator= (const DoubleSpinBox &rhs)=delete
 
virtual QString textFromValue (double val) const override
 

Detailed Description

The DoubleSpinBox class is a customized QDoubleSpinBox widget.

Differences to QDoubleSpinBox:

  • Trailing zeros are omitted

Constructor & Destructor Documentation

◆ DoubleSpinBox() [1/2]

DoubleSpinBox ( QWidget *  parent = nullptr)
explicitnoexcept

◆ DoubleSpinBox() [2/2]

DoubleSpinBox ( const DoubleSpinBox other)
delete

◆ ~DoubleSpinBox()

~DoubleSpinBox ( )
virtualnoexcept

Member Function Documentation

◆ operator=()

DoubleSpinBox& operator= ( const DoubleSpinBox rhs)
delete

◆ textFromValue()

QString textFromValue ( double  val) const
overridevirtual
+ Here is the call graph for this function:

The documentation for this class was generated from the following files: