11#include "fitscommon.h"
22class FITSLabel :
public QLabel
27 virtual ~FITSLabel()
override =
default;
29 void setSize(
double w,
double h);
30 void centerTelescope(
double raJ2000,
double decJ2000);
31 bool getMouseButtonDown();
32 void updateROIToolTip(
const QPoint p);
36 void showRubberBand(
bool on);
37 void zoomRubberBand(
double scale);
40 virtual void mouseMoveEvent(
QMouseEvent *e)
override;
41 virtual void mousePressEvent(
QMouseEvent *e)
override;
42 virtual void mouseReleaseEvent(
QMouseEvent *e)
override;
43 virtual void mouseDoubleClickEvent(
QMouseEvent *e)
override;
44 virtual void leaveEvent(
QEvent *e)
override;
47 bool mouseButtonDown {
false };
48 bool isRoiSelected {
false };
50 FITSView *view {
nullptr };
53 float prevscale{ 1.0 };
55 double m_Height { 0 };
66 void newStatus(
const QString &msg, FITSBar
id);
67 void pointSelected(
int x,
int y);
68 void highlightSelected(
int x,
int y);
69 void markerSelected(
int x,
int y);
70 void rectangleSelected(
QPoint p1,
QPoint p2,
bool refreshCenter);
72 void mouseOverPixel(
int x,
int y);
An angle, stored as degrees, but expressible in many ways.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.