20#ifndef DDT_DATAVISUALISATION_DDTWIDGETS_CURSORINFOWIDGET_HPP
21#define DDT_DATAVISUALISATION_DDTWIDGETS_CURSORINFOWIDGET_HPP
23#include <QtUiPlugin/QDesignerExportWidget>
37 Q_PROPERTY(
bool show_radec READ get_show_radec WRITE set_show_radec)
38 Q_PROPERTY(
bool show_xy READ get_show_xy WRITE set_show_xy)
39 Q_PROPERTY(
int xy_digits READ get_xy_digits WRITE set_xy_digits)
40 Q_PROPERTY(
int value_digits READ get_value_digits WRITE set_value_digits)
59 void set_show_radec(
const bool show_radec);
65 bool get_show_radec()
const;
72 void set_show_xy(
const bool show_xy);
78 bool get_show_xy()
const;
85 void set_xy_digits(
const int digits);
92 int get_xy_digits()
const;
99 void set_value_digits(
int digits);
106 int get_value_digits()
const;
113 bool show_radec =
false;
133 int value_digits = 5;
136 QLabel* x_coordinate_label;
137 QLabel* y_coordinate_label;
138 QLabel* pixel_value_label;
139 QLabel* ra_coordinate_label;
140 QLabel* dec_coordinate_label;
149 void UpdateCoordinateDisplay();
161 void CursorInfo(
double x,
double y,
double pixelvalue, QString ra,
Definition: ddtDatavisualisationUtils.hpp:27
DDT Utils. Helper classes for DDT Datavisualisation. Utilities for the DDT Datavisualisation.
Image Handling class, offers access to image handling functions. This file is part of the DDT Image H...