|
cut
1.2.2-pre1
|
Dartboard widget. More...
#include <CutWidgets.h>
Public Slots | |
| void | setCurrentAlt (double newValue) |
Signals | |
| void | currentAltChanged (double newValue) |
| Indicates that the current altitude value has changed. More... | |
| void | currentAzChanged (double newValue) |
| Indicates that the current azimuth value has changed. More... | |
| void | targetAltChanged (double newValue) |
| Indicates that the target altitude value has changed. More... | |
| void | targetAzChanged (double newValue) |
| Indicates that the target azimuth value has changed. More... | |
| void | telescopeLatChanged (double newValue) |
| Indicates that telescope latitude has changed. More... | |
| void | telescopeLongChanged (double newValue) |
| Indicates that telescope longitude has changed. More... | |
| void | windDirectionChanged (double newValue) |
| Indicates that the wind direction has changed. More... | |
Public Member Functions | |
| QeDartBoard (QWidget *parent=Q_NULLPTR) | |
| ~QeDartBoard () | |
| double | getCurrentAlt () |
| double | getCurrentAz () |
| double | getTargetAlt () |
| double | getTargetAz () |
| double | getTelescopeLat () |
| double | getTelescopeLong () |
| double | getWindDirection () |
| void | setCurrentAz (double newValue) |
| void | setTargetAlt (double newValue) |
| void | setTargetAz (double newValue) |
| void | setTelescopeLat (double newValue) |
| void | setTelescopeLong (double newValue) |
| void | setWindDirection (double newValue) |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) |
Properties | |
| double | currentAlt |
| Altitude coordinate of the current position in radians. More... | |
| double | currentAz |
| Azimuth coordinate of the current position in radians. More... | |
| double | targetAlt |
| Altitude coordinate of the target position in radians. More... | |
| double | targetAz |
| Azimuth coordinate of the target position in radians. More... | |
| double | telescopeLat |
| Telescope Latitude position – currently not used @accessors getTelescopeLat(), setTelescopeLat(double) More... | |
| double | telescopeLong |
| Telescope Longitude position – currently not used @accessors getTelescopeLong(), setTelescopeLong() More... | |
| double | windDirection |
| Wind direction – currently not used @accessors getWindDirection(), setWindDirection() More... | |
Dartboard widget.
It renders a target and a current position in an Alt/Az radial view.
The Dartboard is a custom widget that renders in radial coordinates the Altitude and Azimuth of two positions: the target, and the current.
Values in the radial axis range from Pi/2 radians at the center, to 0 at the outer border. Values in the angular axis start with 0 radians from the South position, and increase starting counter-clockwise up to 2*Pi radians.
The target is rendered in red, and the current position in blue.
@TODO: update to Control GUI Guidelines colors
|
explicit |
| QeDartBoard::~QeDartBoard | ( | ) |
|
signal |
Indicates that the current altitude value has changed.
| newValue | New value for the current altitude in radians. |
|
signal |
Indicates that the current azimuth value has changed.
| newValue | New value for the current azimuth in radians. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
inlineslot |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
signal |
Indicates that the target altitude value has changed.
| newValue | New value for the target altitude in radians. |
|
signal |
Indicates that the target azimuth value has changed.
| newValue | New value for the target azimuth in radians. |
|
signal |
Indicates that telescope latitude has changed.
| newValue | New value telescope latitude. |
|
signal |
Indicates that telescope longitude has changed.
| newValue | New value telescope longitude. |
|
signal |
Indicates that the wind direction has changed.
| newValue | New value for the wind direction in radians. |
|
readwrite |
Altitude coordinate of the current position in radians.
@accessors getCurrentAlt(), setCurrentAlt(double)
|
readwrite |
Azimuth coordinate of the current position in radians.
@accessors getCurrentAz(), setCurrentAz(double)
|
readwrite |
Altitude coordinate of the target position in radians.
@accessors getTargetAlt(), setTargetAlt(double)
|
readwrite |
Azimuth coordinate of the target position in radians.
@accessors getTargetAz(), setTargetAz(double)
|
readwrite |
Telescope Latitude position – currently not used @accessors getTelescopeLat(), setTelescopeLat(double)
|
readwrite |
Telescope Longitude position – currently not used @accessors getTelescopeLong(), setTelescopeLong()
|
readwrite |
Wind direction – currently not used @accessors getWindDirection(), setWindDirection()