1 #ifndef SPECTRALPOSITIONINGWIDGET_QO_H
2 #define SPECTRALPOSITIONINGWIDGET_QO_H
5 #include <display/QtPlotter/SpectralPositioningWidget.ui.h>
14 class ProfileTaskMonitor;
44 void pageUpdate(
int selectionIndex,
int unitIndex );
46 bool populateWorlds(
const QList<int> &pixelX,
const QList<int> &pixelY,
47 QList<double> &worldX, QList<double> &worldY );
48 bool fillPointWorld( QList<double> &worldX, QList<double> &worldY );
50 bool fillBoxPixel( QList<int> &pixelX, QList<int>&pixelY );
51 bool fillBoxWorld( QList<double> &worldX, QList<double> & worldY );
53 const double*
const secondXPix,
const double*
const secondYPix,
54 double*
const blcxPix,
double*
const blcyPix,
55 double*
const trcxPix,
double*
const trcYPix,
bool pixels=
true );
56 double toRadians(
bool& valid, QLineEdit * lineEdit );
57 void switchBoxLabels(
int index,
int pageIndex, QLabel*
const x1Label, QLabel*
const y1Label,
58 QLabel*
const x2Label, QLabel*
const y2Label );
60 double topRight,
double bottomRight );
62 double topRight,
double bottomRight );
65 Ui::SpectralPositioningWidgetClass
ui;
83 #endif // SPECTRALPOSITIONINGWIDGET_H
ostream-like interface to creating log messages.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.