LibrePCB Developers Documentation
AngleEdit Class Referencefinal

The AngleEdit class is a widget to view/edit librepcb::Angle values. More...

#include <angleedit.h>

+ Inheritance diagram for AngleEdit:
+ Collaboration diagram for AngleEdit:

Signals

void valueChanged (const Angle &value)
 
- Signals inherited from NumberEditBase
void editingFinished ()
 

Public Member Functions

 AngleEdit (QWidget *parent=nullptr) noexcept
 
 AngleEdit (const AngleEdit &other)=delete
 
virtual ~AngleEdit () noexcept
 
const AnglegetValue () const noexcept
 
void setValue (const Angle &value) noexcept
 
AngleEditoperator= (const AngleEdit &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
 
NumberEditBaseoperator= (const NumberEditBase &rhs)=delete
 

Private Member Functions

void updateSpinBox () noexcept override
 
void spinBoxValueChanged (double value) noexcept override
 

Private Attributes

Angle mValue
 

Additional Inherited Members

virtual void updateSpinBox () noexcept=0
 
virtual void spinBoxValueChanged (double value) noexcept=0
 
- Protected Attributes inherited from NumberEditBase
QScopedPointer< DoubleSpinBoxmSpinBox
 

Detailed Description

The AngleEdit class is a widget to view/edit librepcb::Angle values.

Constructor & Destructor Documentation

◆ AngleEdit() [1/2]

AngleEdit ( QWidget *  parent = nullptr)
explicitnoexcept

◆ AngleEdit() [2/2]

AngleEdit ( const AngleEdit other)
delete

◆ ~AngleEdit()

~AngleEdit ( )
virtualnoexcept

Member Function Documentation

◆ getValue()

const Angle & getValue ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setValue()

void setValue ( const Angle value)
noexcept
+ Here is the caller graph for this function:

◆ operator=()

AngleEdit & operator= ( const AngleEdit rhs)
delete

◆ valueChanged

void valueChanged ( const Angle value)
signal
+ Here is the caller graph for this function:

◆ updateSpinBox()

void updateSpinBox ( )
overrideprivatevirtualnoexcept

Implements NumberEditBase.

+ Here is the call graph for this function:

◆ spinBoxValueChanged()

void spinBoxValueChanged ( double  value)
overrideprivatevirtualnoexcept

Implements NumberEditBase.

+ Here is the call graph for this function:

Member Data Documentation

◆ mValue

Angle mValue
private

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