The DdtCursorInfoWidget class Class for the Cursor Info Widget that can be used to report information on the point currently under the mouse pointer inside the image widget.
More...
#include <ddtCursorInfoWidget.hpp>
|
| void | CursorInfo (double x, double y, double pixelvalue, QString ra, QString decl) |
| |
|
| bool | show_RADEC = false |
| | show_RADEC Flag if RADEC coordinates should be displayed More...
|
| |
| bool | show_XY = true |
| | show_XY Flag if X-Y coordinates should be displayed More...
|
| |
| int | xyDigits = 3 |
| | digits Quantity of numbers after the comma shown of the x and y coorindates. More...
|
| |
| int | valueDigits = 5 |
| | valueDigits Quantity of numbers after the comma shown of the pixel value. More...
|
| |
The DdtCursorInfoWidget class Class for the Cursor Info Widget that can be used to report information on the point currently under the mouse pointer inside the image widget.
◆ DdtCursorInfoWidget()
| DdtCursorInfoWidget::DdtCursorInfoWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructor
- Parameters
-
| parent | Pointer to the parent widget |
◆ ~DdtCursorInfoWidget()
| virtual DdtCursorInfoWidget::~DdtCursorInfoWidget |
( |
| ) |
|
|
virtualdefault |
◆ CursorInfo
| void DdtCursorInfoWidget::CursorInfo |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
pixelvalue, |
|
|
QString |
ra, |
|
|
QString |
decl |
|
) |
| |
|
protectedslot |
Slot for receiving the current pixel coordinate and pixelvalue to display
◆ get_show_RADEC()
| bool DdtCursorInfoWidget::get_show_RADEC |
( |
| ) |
const |
Retrieve the value of the show_RADEC flag
- Returns
- the value of the show_RADEC flag
◆ get_show_XY()
| bool DdtCursorInfoWidget::get_show_XY |
( |
| ) |
const |
Retrieve the value of the show_XY flag
- Returns
- the value of the show_XY flag
◆ get_value_digits()
| int DdtCursorInfoWidget::get_value_digits |
( |
| ) |
const |
get_value_digits
- Returns
- the actually set quantity of numbers which whell be shown after the comma of the pixel value
◆ get_xy_digits()
| int DdtCursorInfoWidget::get_xy_digits |
( |
| ) |
const |
get_xy_digits
- Returns
- the actually set quantity of numbers which whell be shown after the comma of the x and y coordinates
◆ set_show_RADEC()
| void DdtCursorInfoWidget::set_show_RADEC |
( |
const bool |
showRADEC | ) |
|
Set the value for the flag indicating if the RADEC coordinates should be displayed
- Parameters
-
| show_RADEC | flag to select display of coordinates |
◆ set_show_XY()
| void DdtCursorInfoWidget::set_show_XY |
( |
const bool |
showXY | ) |
|
Set the value for the flag indicating if the X-Y coordinates should be displayed
- Parameters
-
| show_XY | flag to select display of coordinates |
◆ set_value_digits()
| void DdtCursorInfoWidget::set_value_digits |
( |
int |
digits | ) |
|
set_value_digits
- Parameters
-
| digits | the quantity of numbers which shell be shown after the comma of the pixel value |
◆ set_xy_digits()
| void DdtCursorInfoWidget::set_xy_digits |
( |
const int |
digits | ) |
|
set_xy_digits
- Parameters
-
| digits | the quantity of numbers which shell be shown after the comma of the x and y coordinates |
◆ show_RADEC
| bool DdtCursorInfoWidget::show_RADEC = false |
|
readwrite |
show_RADEC Flag if RADEC coordinates should be displayed
◆ show_XY
| bool DdtCursorInfoWidget::show_XY = true |
|
readwrite |
show_XY Flag if X-Y coordinates should be displayed
◆ valueDigits
| int DdtCursorInfoWidget::valueDigits = 5 |
|
readwrite |
valueDigits Quantity of numbers after the comma shown of the pixel value.
◆ xyDigits
| int DdtCursorInfoWidget::xyDigits = 3 |
|
readwrite |
digits Quantity of numbers after the comma shown of the x and y coorindates.
The documentation for this class was generated from the following files: