ddt  0.1
Public Member Functions | Protected Slots | Properties | List of all members
DdtCursorInfoWidget Class Reference

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>

Inheritance diagram for DdtCursorInfoWidget:
DdtWidget

Public Member Functions

 DdtCursorInfoWidget (QWidget *parent=nullptr)
 
virtual ~DdtCursorInfoWidget ()=default
 
void set_show_RADEC (bool show_RADEC)
 
bool get_show_RADEC ()
 
void set_show_XY (bool show_XY)
 
bool get_show_XY ()
 
void set_xy_digits (int digits)
 set_xy_digits More...
 
int get_xy_digits ()
 get_xy_digits More...
 
- Public Member Functions inherited from DdtWidget
 DdtWidget (QWidget *parent=nullptr)
 DdtWidget. More...
 
virtual ~DdtWidget ()=default
 
QLayout * addParentLayout (QLayout *childLayout)
 addParentLayout This will add the given layout to the layout of the parent inside the group box. More...
 

Protected Slots

void CursorInfo (double x, double y, double pixelvalue, QString ra, QString decl)
 

Properties

bool show_RADEC
 show_RADEC Flag if RADEC coordinates should be displayed More...
 
bool show_XY
 show_XY Flag if X-Y coordinates should be displayed More...
 
int xyDigits
 digits Quantity of numbers after the comma shown of the x and y coorindates. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DdtCursorInfoWidget()

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

Constructor

Parameters
parentPointer to the parent widget

◆ ~DdtCursorInfoWidget()

virtual DdtCursorInfoWidget::~DdtCursorInfoWidget ( )
virtualdefault

Destructor

Member Function Documentation

◆ 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 ( )

Retrieve the value of the show_RADEC flag

Returns
the value of the show_RADEC flag

◆ get_show_XY()

bool DdtCursorInfoWidget::get_show_XY ( )

Retrieve the value of the show_XY flag

Returns
the value of the show_XY flag

◆ get_xy_digits()

int DdtCursorInfoWidget::get_xy_digits ( )

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 ( bool  show_RADEC)

Set the value for the flag indicating if the RADEC coordinates should be displayed

Parameters
show_RADECflag to select display of coordinates

◆ set_show_XY()

void DdtCursorInfoWidget::set_show_XY ( bool  show_XY)

Set the value for the flag indicating if the X-Y coordinates should be displayed

Parameters
show_XYflag to select display of coordinates

◆ set_xy_digits()

void DdtCursorInfoWidget::set_xy_digits ( int  digits)

set_xy_digits

Parameters
digitsthe quantity of numbers which shell be shown after the comma of the x and y coordinates

Property Documentation

◆ show_RADEC

bool DdtCursorInfoWidget::show_RADEC
readwrite

show_RADEC Flag if RADEC coordinates should be displayed

◆ show_XY

bool DdtCursorInfoWidget::show_XY
readwrite

show_XY Flag if X-Y coordinates should be displayed

◆ xyDigits

int DdtCursorInfoWidget::xyDigits
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: