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

A text label that prints from a radian, it representation in Hours/Minute/Seconds notation. More...

#include <CutWidgets.h>

Inheritance diagram for QeHmsLabel:
taurus.taurushmslabel.TaurusHmsLabel

Signals

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.
 

Public Member Functions

 QeHmsLabel (QWidget *parent=Q_NULLPTR)
 Constructor for QeHmsLabel.
 

Properties

double radians
 Value to represent in radians.
 
int precision
 Precision used in the subsecond section of the label.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QeHmsLabel()

QeHmsLabel::QeHmsLabel ( QWidget * parent = Q_NULLPTR)
explicit

Constructor for QeHmsLabel.

Parameters
parentReference to the QWidget that contains this new widget. Used by Qt to delete widgets allocated dynamically when parent widget is deleted.

Property Documentation

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