1 /***************************************************************************
2 fitshistogram.h - FITS Historgram
4 begin : Thu Mar 4th 2004
5 copyright : (C) 2004 by Jasem Mutlaq
6 email : mutlaqja@ikarustech.com
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
21 #include "histdialog.h"
29 class FITSHistogram
: public histDialog
34 FITSHistogram(QWidget
*parent
, const char * name
= 0);
37 void constructHistogram(float *buffer
);
51 void paintEvent( QPaintEvent
*e
);
52 void mouseMoveEvent( QMouseEvent
*e
);
58 void updateIntenFreq(int x
);
63 class FITSHistogramCommand
: public KCommand
66 FITSHistogramCommand(QWidget
* parent
, FITSHistogram
*inHisto
, int newType
, int lmin
, int lmax
);
67 ~FITSHistogramCommand();