A text label that prints from a radian, it representation in Hours/Minute/Seconds notation.
More...
#include <CutWidgets.h>
|
|
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.
|
| |
|
| double | radians |
| | Value to represent in radians.
|
| |
| int | precision |
| | Precision used in the subsecond section of the label.
|
| |
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 erfa for conversions.
◆ QeHmsLabel()
| QeHmsLabel::QeHmsLabel |
( |
QWidget * | parent = Q_NULLPTR | ) |
|
|
explicit |
Constructor for QeHmsLabel.
- Parameters
-
| parent | Reference to the QWidget that contains this new widget. Used by Qt to delete widgets allocated dynamically when parent widget is deleted. |
◆ precision
| int QeHmsLabel::precision |
|
readwrite |
Precision used in the subsecond section of the label.
By default, millisecond precision is used.
- Accessors:
- getPrecision(), setPrecision(int)
◆ radians
| double QeHmsLabel::radians |
|
readwrite |
Value to represent in radians.
- Accessors:
- getRadians(), setRadians(double)
The documentation for this class was generated from the following files:
- widgets/widgets/src/include/elt/cut/widgets/widgets/QeHmsLabel.hpp
- widgets/widgets/src/QeHmsLabel.cpp