cut  1.2.2-pre1
Public Slots | Signals | Public Member Functions | Properties | List of all members
QeDmsLabel Class Reference

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

#include <CutWidgets.h>

Inheritance diagram for QeDmsLabel:

Public Slots

void setRadians (double newValue)
 

Signals

void radiansChanged (double newValue)
 Indicates that the radians value has been changed. More...
 
void precisionChanged (int newValue)
 Indicates the precision configuration has been changed. More...
 

Public Member Functions

 QeDmsLabel (QWidget *parent=Q_NULLPTR)
 
 ~QeDmsLabel ()
 
double getRadians ()
 
int 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...
 

Detailed Description

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

QeDmsLabel allows to represent in +-DDD:MM:SS.sss format an angle. This representation is used for Declination coordinates. It uses slalib for conversions.

Constructor & Destructor Documentation

◆ QeDmsLabel()

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

◆ ~QeDmsLabel()

QeDmsLabel::~QeDmsLabel ( )

Member Function Documentation

◆ getPrecision()

int QeDmsLabel::getPrecision ( )
inline

◆ getRadians()

double QeDmsLabel::getRadians ( )
inline

◆ precisionChanged

void QeDmsLabel::precisionChanged ( int  newValue)
signal

Indicates the precision configuration has been changed.

◆ radiansChanged

void QeDmsLabel::radiansChanged ( double  newValue)
signal

Indicates that the radians value has been changed.

◆ setPrecision()

void QeDmsLabel::setPrecision ( int  newValue)
inline

◆ setRadians

void QeDmsLabel::setRadians ( double  newValue)
inlineslot

◆ update()

void QeDmsLabel::update ( )

Property Documentation

◆ precision

int QeDmsLabel::precision
readwrite

Precision used in the subsecond section of the label.

By default, millisecond precision is used.

@accessors getPrecision(), setPrecision(int)

◆ radians

double QeDmsLabel::radians
readwrite

Value to represent in radians @accessors getRadians(), setRadians(double)


The documentation for this class was generated from the following files: