moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kstars / kstars / imagesequence.h
blobbdffcd93bb055d0c56ad592b5123dd6a68af308a
1 /* Image Sequence
2 Capture image sequence from an imaging device.
4 Copyright (C) 2003 Jasem Mutlaq (mutlaqja@ikarustech.com)
6 This application is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
12 #ifndef IMAGESEQUENCE_H
13 #define IMAGESEQUENCE_H
15 #include "imgsequencedlgui.h"
17 class KStars;
18 class QTimer;
19 class INDIStdDevice;
21 class imagesequence : public imgSequenceDlg
23 Q_OBJECT
25 public:
26 imagesequence(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
27 ~imagesequence();
30 bool updateStatus();
32 private:
33 KStars *ksw;
34 QTimer *seqTimer;
35 INDIStdDevice *stdDevCCD;
36 INDIStdDevice *stdDevFilter;
38 bool active;
39 bool ISOStamp;
40 double seqExpose;
41 int seqTotalCount;
42 int seqCurrentCount;
43 int seqDelay;
44 int retries;
45 int lastCCD;
46 int lastFilter;
47 QString currentCCD;
48 QString currentFilter;
50 bool verifyCCDIntegrity();
51 bool verifyFilterIntegrity();
52 void resetButtons();
53 void selectFilter();
55 public slots:
56 bool setupCCDs();
57 bool setupFilters();
58 void newCCD();
59 void newFilter();
61 void startSequence();
62 void stopSequence();
63 void captureImage();
64 void prepareCapture();
65 void newFITS(QString deviceLabel);
66 void checkCCD(int CCDNum);
67 void updateFilterCombo(int filterNum);
71 #endif