LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 setSingleStep (tl::optional< double > step) noexcept
 
void setFrame (bool frame) noexcept
 
void selectAll () noexcept
 
NumberEditBaseoperator= (const NumberEditBase &rhs)=delete
 

Private Member Functions

void updateSpinBox () noexceptoverride
 
void spinBoxValueChanged (double value) noexceptoverride
 

Private Attributes

Angle mValue
 

Additional Inherited Members

- 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 ( QWidget *  parent = nullptr)
explicitnoexcept
AngleEdit ( const AngleEdit other)
delete
~AngleEdit ( )
virtualnoexcept

Member Function Documentation

const Angle& getValue ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

void setValue ( const Angle value)
noexcept

+ Here is the caller graph for this function:

AngleEdit& operator= ( const AngleEdit rhs)
delete
void valueChanged ( const Angle value)
signal

+ Here is the caller graph for this function:

void updateSpinBox ( )
overrideprivatevirtualnoexcept

Implements NumberEditBase.

+ Here is the call graph for this function:

void spinBoxValueChanged ( double  value)
overrideprivatevirtualnoexcept

Implements NumberEditBase.

+ Here is the call graph for this function:

Member Data Documentation

Angle mValue
private

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