cut
1.2.2-pre1
|
A text label that prints from a radian, it representation in Hours/Minute/Seconds notation. More...
#include <CutWidgets.h>
Public Slots | |
void | setRadians (double newValue) |
Signals | |
void | radiansChanged (double newValue) |
Signal emitted when the value represented by the widget has changed. More... | |
void | precisionChanged (int newValue) |
Signal emitted when the precision of the widget has changed. More... | |
Public Member Functions | |
QeHmsLabel (QWidget *parent=Q_NULLPTR) | |
Constructor for QeHmsLabel. More... | |
~QeHmsLabel () | |
double | getRadians () |
double | getPrecision () |
void | setPrecision (int newValue) |
void | update () |
Properties | |
double | radians |
Value to represent in radians @accessors getRadians(), setRadians(double) More... | |
int | precision |
Precision used in the subsecond section of the label. More... | |
A text label that prints from a radian, it representation in Hours/Minute/Seconds notation.
QeDmsLabel allows to represent in +-HH:MM:SS.sss format an angle. This representation is used for Right Ascension coordinates. It uses slalib for conversions.
|
explicit |
Constructor for QeHmsLabel.
parent | Reference to the QWidget that contains this new widget. Used by Qt to delete widgets allocated dynamically when parent widget is deleted. |
QeHmsLabel::~QeHmsLabel | ( | ) |
|
inline |
|
inline |
|
signal |
Signal emitted when the precision of the widget has changed.
|
signal |
Signal emitted when the value represented by the widget has changed.
|
inline |
|
inlineslot |
void QeHmsLabel::update | ( | ) |
|
readwrite |
Precision used in the subsecond section of the label.
By default, millisecond precision is used. @accessors getPrecision(), setPrecision(int)
|
readwrite |
Value to represent in radians @accessors getRadians(), setRadians(double)