Noether  0.0.0
Loading...
Searching...
No Matches
noether::AngleDoubleSpinBox Class Reference

Double spin box widget class that supports angle units. More...

Detailed Description

Supported units are degrees (deg) and radians (rad)

#include <angle_double_spin_box.h>

Inheritance diagram for noether::AngleDoubleSpinBox:

Public Member Functions

 AngleDoubleSpinBox (QWidget *parent=nullptr)
 
double valueFromText (const QString &text) const override
 
QString textFromValue (double val) const override
 
QValidator::State validate (QString &input, int &pos) const override
 

Protected Attributes

std::string unit_ = "deg"