|
| void | setCurrentAlt (double newValue) |
| | Sets the value of the current altitude property.
|
| |
| void | setCurrentAz (double newValue) |
| | Sets the value of the current azimuth property.
|
| |
| void | setTargetAlt (double newValue) |
| | Sets the value of the target altitude property.
|
| |
| void | setTargetAz (double newValue) |
| | Sets the value of the target azimuth property.
|
| |
| void | setTelescopeLat (double newValue) |
| | Sets the value of the latitude of the telescope.
|
| |
| void | setTelescopeLong (double newValue) |
| | Sets the value of the longitude of the telescope.
|
| |
| void | setWindDirection (double newValue) |
| | Sets the value of the latitude of the telescope.
|
| |
| void | setIsClockwise (bool newValue) |
| | Changes the direction of radial values distribution.
|
| |
| void | setDegRadNumericDisplay (bool newValue) |
| | Changes the units used to display the values.
|
| |
| void | setShowGrid (bool newValue) |
| | Changes the grid visibility indicator.
|
| |
|
void | updateBackground () |
| | Updates the m_backgroundUpdateNeeded internal flag to signal a significant change was detect, and the cache needs to be rebuild.
|
| |
|
| void | currentAltChanged (double newValue) |
| | Indicates that the current altitude value has changed.
|
| |
| void | currentAzChanged (double newValue) |
| | Indicates that the current azimuth value has changed.
|
| |
| void | targetAltChanged (double newValue) |
| | Indicates that the target altitude value has changed.
|
| |
| void | targetAzChanged (double newValue) |
| | Indicates that the target azimuth value has changed.
|
| |
| void | telescopeLatChanged (double newValue) |
| | Indicates that telescope latitude has changed.
|
| |
| void | telescopeLongChanged (double newValue) |
| | Indicates that telescope longitude has changed.
|
| |
| void | windDirectionChanged (double newValue) |
| | Indicates that the wind direction has changed.
|
| |
| void | isClockwiseChanged (bool newValue) |
| | Indicates that the direction of values distribution chanegd.
|
| |
| void | degRadNumericDisplayTriggered (bool newValue) |
| | Indicates that the numerical unit representation has changed.
|
| |
| void | showGridChanged (bool newValue) |
| | Indicates that the numerical unit representation has changed.
|
| |
|
| | QeDartBoard (QWidget *parent=Q_NULLPTR) |
| | Constructor that is used to set a parent relationship with.
|
| |
| double | getCurrentAlt () |
| | Gets the value of the current altitude the widget has.
|
| |
| double | getCurrentAz () |
| | Gets the value of the current azimuth the widget has.
|
| |
| double | getTargetAlt () |
| | Gets the value of the target altitude the widget has.
|
| |
| double | getTargetAz () |
| | Gets the value of the target azimuth the widget has.
|
| |
| double | getTelescopeLat () |
| | Gets the value of the telescope latitude the widget has.
|
| |
| double | getTelescopeLong () |
| | Gets the value of the telescope longitude the widget has.
|
| |
| double | getWindDirection () |
| | Gets the value of the wind direction the widget has.
|
| |
| | QeRadialItemPlot (QWidget *parent=Q_NULLPTR) |
| | Constructor that is used to set a parent relationship with.
|
| |
| bool | getIsClockwise () |
| | Gets the value the flag that determines if radial values change clockwise or counterclockwise.
|
| |
| bool | getDegRadNumericDisplay () |
| | Returns the true if using radians to display numerical values.
|
| |
| bool | getShowGrid () |
| | Returns the true if grid is displayed.
|
| |
| QPixmap | getBackgroundPixmap () |
| | Returns background QPixmap that is stored in unique ptr.
|
| |
|
| void | paintEvent (QPaintEvent *event) override |
| | Overrides QWidget::paintEvent to implement its own rendering instructions.
|
| |
| void | paintDartBoard (QPainter *painter) override |
| | Uses a QPainter to draw the dartboard (mostly static) background.
|
| |
| void | changeEvent (QEvent *event) override |
| | Overrides QWidget::changeEvent to catch when certain QWidget's properties has changed.
|
| |
| void | resizeEvent (QResizeEvent *event) override |
| | Overrides QWidget::resizeEvent to catch when the size has changed.
|
| |
| void | cacheBackground (QPainter *painter) |
| | Stores in a pointer the new background cache.
|
| |
| void | setDirectionIndicatorSigns (QString vertical, QString horizontal) |
| | Sets indicators' symbols for directions arrows painted in top right corner.
|
| |
| void | setDirectionIndicatorVisible (bool isVisible) |
| | Sets directions indicator (painted in the top right corner of the widget) visible.
|
| |
| void | drawValues (QPainter *painter) |
| | Draws numeric values around the radial plot in a desired direction (eiher clockwise or counterclockwise)
|
| |
|
| double | currentAlt |
| | Altitude coordinate of the current position in radians.
|
| |
| double | currentAz |
| | Azimuth coordinate of the current position in radians.
|
| |
| double | targetAlt |
| | Altitude coordinate of the target position in radians.
|
| |
| double | targetAz |
| | Azimuth coordinate of the target position in radians.
|
| |
| double | telescopeLat |
| | Telescope Latitude position – currently not used.
|
| |
| double | telescopeLong |
| | Telescope Longitude position – currently not used.
|
| |
| double | windDirection |
| | Wind direction – currently not used.
|
| |
| bool | isClockwise |
| | Flag that determines if radial coordinates of the plot change clockwise (true) or counterclockwise (false) The property is true by default (clockwise)
|
| |
| bool | degRadNumericDisplay |
| | Degrees/Radians numerical indicators representation (0 - Degrees, 1 - Radians)
|
| |
| bool | showGrid |
| | Show/hide grid.
|
| |
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.
Implement wind direction display
Implement sky visibility according to telescope longitude, latitude and time.