55 explicit
QeHmsLabel(QWidget *parent = Q_NULLPTR);
57 double getRadians(){
return m_radians; };
58 double getPrecision(){
return m_precision; };
61 void setRadians(
double newValue){this->m_radians = newValue; emit
radiansChanged(newValue); this->update();};
62 void setPrecision(
int newValue){this->m_precision = newValue; emit
precisionChanged(newValue); this->update();};
66 double m_radians = 0.0;
double radians
Value to represent in radians.
Definition QeHmsLabel.hpp:26
int precision
Precision used in the subsecond section of the label.
Definition QeHmsLabel.hpp:34
void radiansChanged(double newValue)
Signal emitted when the value represented by the widget has changed.
void precisionChanged(int newValue)
Signal emitted when the precision of the widget has changed.
QeHmsLabel(QWidget *parent=Q_NULLPTR)
Constructor for QeHmsLabel.
Definition QeHmsLabel.cpp:13