A text label that prints from a radian, it represents angle value in DMS/HMS/SEXAGESIMAL or radians unit.
More...
#include <CutWidgets.h>
|
|
void | radiansChanged (double newValue) |
| | Indicates that the radians value has been changed.
|
| |
|
void | precisionChanged (int newValue) |
| | Indicates the precision configuration has been changed.
|
| |
|
void | showUnitsChanged (bool showUnits) |
| | Indicates that showUnits member has been changed.
|
| |
|
void | unitsChanged (QeAngleLabel::Units units) |
| | Indicates that units of displayed value has been changed.
|
| |
|
void | unitChanged (QeAngleLabel::Units units) |
| | Indicates that units of displayed value has been changed.
|
| |
|
void | hmsDmsHandlingChanged (QeAngleLabel::Units hmsDmsHandling) |
| | Indicates that HMS/DMS handling changed.
|
| |
|
| void | setUnitsInt (int units) |
| | Convinience method to allow setting Units using its integer representation.
|
| |
|
| double | radians |
| | Value to represent in radians.
|
| |
| int | precision |
| | Precision used in the subsecond section of the label.
|
| |
| bool | showUnits |
| | Bool value to determine if units should be visible.
|
| |
| Units | units |
| | Enum value to determine which units should be used to represent displayed value.
|
| |
|
Units | hmsDmsHandling |
| | Enum value to determine if the widget supports HMS/DMS units.
|
| |
A text label that prints from a radian, it represents angle value in DMS/HMS/SEXAGESIMAL or radians unit.
QeAngleLabel allows to show or hide printed unit and set precision of displayed value This representation is used for Declination coordinates. It uses ptk for conversions.
◆ setUnitsInt()
| void QeAngleLabel::setUnitsInt |
( |
int | units | ) |
|
Convinience method to allow setting Units using its integer representation.
- Parameters
-
| units | Units as integer. See Units enumerations for details on integer values. |
◆ precision
| int QeAngleLabel::precision |
|
readwrite |
Precision used in the subsecond section of the label.
By default, millisecond precision is used.
- Accessors:
- getPrecision(), setPrecision(int)
◆ radians
| double QeAngleLabel::radians |
|
readwrite |
Value to represent in radians.
- Accessors:
- getRadians(), setRadians(double)
◆ showUnits
| bool QeAngleLabel::showUnits |
|
readwrite |
Bool value to determine if units should be visible.
- Accessors:
- getShowUnits(), setShowUnits(bool)
◆ units
| Units QeAngleLabel::units |
|
readwrite |
Enum value to determine which units should be used to represent displayed value.
- Accessors:
- getShowUnits(), setShowUnits(bool)
The documentation for this class was generated from the following files:
- widgets/widgets/src/include/elt/cut/widgets/widgets/QeAngleLabel.hpp
- widgets/widgets/src/QeAngleLabel.cpp