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

A widget that renders two set of RA/Dec coordinates using cylindrical projection. More...

#include <CutWidgets.h>

Inheritance diagram for QeRaDec:

Public Slots

void setCurrentRa (double newValue)
 

Signals

void currentRaChanged (double newValue)
 Indicates a change in the right ascension coordinate for the current position. More...
 
void currentDecChanged (double newValue)
 Indicates a change in the declination coordinate for the current position. More...
 
void targetRaChanged (double newValue)
 Indicates a change in the right ascension coordinate for the target position. More...
 
void targetDecChanged (double newValue)
 Indicates a change in the declination coordinate for the target position. More...
 
void telescopeLatChanged (double newValue)
 Indicates a change in the telescope latitude coordinate. More...
 
void telescopeLongChanged (double newValue)
 Indicates a change in the telescope longitude coordinate. More...
 

Public Member Functions

 QeRaDec (QWidget *parent=nullptr)
 
double getCurrentRa ()
 
double getCurrentDec ()
 
double getTargetRa ()
 
double getTargetDec ()
 
double getTelescopeLat ()
 
double getTelescopeLong ()
 
void setCurrentDec (double newValue)
 
void setTargetRa (double newValue)
 
void setTargetDec (double newValue)
 
void setTelescopeLat (double newValue)
 
void setTelescopeLong (double newValue)
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 
void resizeEvent (QResizeEvent *event)
 
QSize sizeHint ()
 

Properties

double currentRa
 Right Ascension coordinate of the current position in radians. More...
 
double currentDec
 Declination coordinate of the current position in radians. More...
 
double targetRa
 Right Ascension coordinate of the target position in radians. More...
 
double targetDec
 Declination coordinate of the target position in radians. More...
 
double telescopeLat
 Latitude coordinate of the telescope @accessors getTelescopeLat(), setTelescopeLat(double) More...
 
double telescopeLong
 Longitude coordinate of the telescope @accessors getTelescopeLong(), setTelescopeLong(double) More...
 

Detailed Description

A widget that renders two set of RA/Dec coordinates using cylindrical projection.

It uses as background an image to give context of the coordinates.

@NOTE: This widget uses an image created by Jim Cornmell, with license CC, SA-BY. The use is permitted by license.

Constructor & Destructor Documentation

◆ QeRaDec()

QeRaDec::QeRaDec ( QWidget *  parent = nullptr)
explicit

Member Function Documentation

◆ currentDecChanged

void QeRaDec::currentDecChanged ( double  newValue)
signal

Indicates a change in the declination coordinate for the current position.

◆ currentRaChanged

void QeRaDec::currentRaChanged ( double  newValue)
signal

Indicates a change in the right ascension coordinate for the current position.

◆ getCurrentDec()

double QeRaDec::getCurrentDec ( )
inline

◆ getCurrentRa()

double QeRaDec::getCurrentRa ( )
inline

◆ getTargetDec()

double QeRaDec::getTargetDec ( )
inline

◆ getTargetRa()

double QeRaDec::getTargetRa ( )
inline

◆ getTelescopeLat()

double QeRaDec::getTelescopeLat ( )
inline

◆ getTelescopeLong()

double QeRaDec::getTelescopeLong ( )
inline

◆ paintEvent()

void QeRaDec::paintEvent ( QPaintEvent *  event)
protected

◆ resizeEvent()

void QeRaDec::resizeEvent ( QResizeEvent *  event)
protected

◆ setCurrentDec()

void QeRaDec::setCurrentDec ( double  newValue)
inline

◆ setCurrentRa

void QeRaDec::setCurrentRa ( double  newValue)
inlineslot

◆ setTargetDec()

void QeRaDec::setTargetDec ( double  newValue)
inline

◆ setTargetRa()

void QeRaDec::setTargetRa ( double  newValue)
inline

◆ setTelescopeLat()

void QeRaDec::setTelescopeLat ( double  newValue)
inline

◆ setTelescopeLong()

void QeRaDec::setTelescopeLong ( double  newValue)
inline

◆ sizeHint()

QSize QeRaDec::sizeHint ( )
protected

◆ targetDecChanged

void QeRaDec::targetDecChanged ( double  newValue)
signal

Indicates a change in the declination coordinate for the target position.

◆ targetRaChanged

void QeRaDec::targetRaChanged ( double  newValue)
signal

Indicates a change in the right ascension coordinate for the target position.

◆ telescopeLatChanged

void QeRaDec::telescopeLatChanged ( double  newValue)
signal

Indicates a change in the telescope latitude coordinate.

◆ telescopeLongChanged

void QeRaDec::telescopeLongChanged ( double  newValue)
signal

Indicates a change in the telescope longitude coordinate.

Property Documentation

◆ currentDec

double QeRaDec::currentDec
readwrite

Declination coordinate of the current position in radians.

@accessors getCurrentDec(), setCurrentDec(double)

◆ currentRa

double QeRaDec::currentRa
readwrite

Right Ascension coordinate of the current position in radians.

@accessors getCurrentRa(), setCurrentRa(double)

◆ targetDec

double QeRaDec::targetDec
readwrite

Declination coordinate of the target position in radians.

@accessors getTargetDec(), setTargetDec(double)

◆ targetRa

double QeRaDec::targetRa
readwrite

Right Ascension coordinate of the target position in radians.

@accessors getTargetRa(), setTargetRa(double)

◆ telescopeLat

double QeRaDec::telescopeLat
readwrite

Latitude coordinate of the telescope @accessors getTelescopeLat(), setTelescopeLat(double)

◆ telescopeLong

double QeRaDec::telescopeLong
readwrite

Longitude coordinate of the telescope @accessors getTelescopeLong(), setTelescopeLong(double)


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