File: QFitsDisplay.h

package info (click to toggle)
dpuser 4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,084 kB
  • sloc: cpp: 124,807; ansic: 6,866; lex: 1,113; makefile: 777; yacc: 742; sh: 78
file content (20 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef QFITSDISPLAY_H
#define QFITSDISPLAY_H

#include <qwidget.h>
#include <qstring.h>
#include "QFitsImage.h"

class QFitsDisplay : public QWidget {
	Q_OBJECT
public:
	QFitsDisplay(QWidget *parent = NULL);
	QFitsImage image;
	Fits *data;
	bool LoadFile(QString &fname);
protected:
	void paintEvent( QPaintEvent * );
	void resizeEvent(QResizeEvent *);
};

#endif /* QFITSDISPLAY_H */