cut 3.3.0
Loading...
Searching...
No Matches
QeAngleLabel Class Reference

A text label that prints from a radian, it represents angle value in DMS/HMS/SEXAGESIMAL or radians unit. More...

#include <CutWidgets.h>

Inheritance diagram for QeAngleLabel:
taurus.taurusanglelabel.TaurusAngleLabel

Signals

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.
 

Public Member Functions

void setUnitsInt (int units)
 Convinience method to allow setting Units using its integer representation.
 

Properties

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.
 

Detailed Description

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.

Member Function Documentation

◆ setUnitsInt()

void QeAngleLabel::setUnitsInt ( int units)

Convinience method to allow setting Units using its integer representation.

Parameters
unitsUnits as integer. See Units enumerations for details on integer values.

Property Documentation

◆ 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: