kstars
imagesequence.h
Go to the documentation of this file.00001 /* Image Sequence 00002 Capture image sequence from an imaging device. 00003 00004 Copyright (C) 2003 Jasem Mutlaq (mutlaqja@ikarustech.com) 00005 00006 This application is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 */ 00011 00012 #ifndef IMAGESEQUENCE_H 00013 #define IMAGESEQUENCE_H 00014 00015 #include "imgsequencedlgui.h" 00016 00017 class KStars; 00018 class QTimer; 00019 class INDIStdDevice; 00020 00021 class imagesequence : public imgSequenceDlg 00022 { 00023 Q_OBJECT 00024 00025 public: 00026 imagesequence(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00027 ~imagesequence(); 00028 00029 00030 bool updateStatus(); 00031 00032 private: 00033 KStars *ksw; 00034 QTimer *seqTimer; 00035 INDIStdDevice *stdDevCCD; 00036 INDIStdDevice *stdDevFilter; 00037 00038 bool active; 00039 bool ISOStamp; 00040 double seqExpose; 00041 int seqTotalCount; 00042 int seqCurrentCount; 00043 int seqDelay; 00044 int retries; 00045 int lastCCD; 00046 int lastFilter; 00047 QString currentCCD; 00048 QString currentFilter; 00049 00050 bool verifyCCDIntegrity(); 00051 bool verifyFilterIntegrity(); 00052 void resetButtons(); 00053 void selectFilter(); 00054 00055 public slots: 00056 bool setupCCDs(); 00057 bool setupFilters(); 00058 void newCCD(); 00059 void newFilter(); 00060 00061 void startSequence(); 00062 void stopSequence(); 00063 void captureImage(); 00064 void prepareCapture(); 00065 void newFITS(QString deviceLabel); 00066 void checkCCD(int CCDNum); 00067 void updateFilterCombo(int filterNum); 00068 00069 }; 00070 00071 #endif 00072