Ksetiwatch API Documentation


loggedsigs.h

Go to the documentation of this file.
00001 /***************************************************************************/
00014 #ifndef LOGGEDSIGS_H
00015 #define LOGGEDSIGS_H
00016 
00017 #include <qlist.h>
00018 
00019 #include "loggedsigstmpl.h"
00020 #include "poplistview.h"
00021 #include "setidefs.h"
00022 
00023 class SetiLoc;
00024 
00025 const QString ResultLogFileName = "SETIResult.log";
00026 const double  SliceFrequency = 9765.0;
00027 const int     MaxFFTLen = 131072;
00028 
00029 /***************************************************************************/
00043 /***************************************************************************/
00057 /***************************************************************************/
00068 class SpikeListViewItem : public ColorListViewItem
00069 {
00070 public:
00075   SpikeListViewItem(QListView* parent) : ColorListViewItem(parent) {}
00077   ~SpikeListViewItem() {}
00085   QString key(int column, bool ascending) const;
00086 };
00087 
00094 class LoggedSigs : public LoggedSigsTmpl
00095 {
00096 Q_OBJECT
00097 
00098 public:
00107   LoggedSigs(const QString& locName, const QString& wu,
00108              QWidget* parent=0, const char* name=0);
00110   ~LoggedSigs();
00116   void setWorkUnit(const QString& name) {wuname = name;}
00118   QString wuName() const {return wuname;}
00119 
00120 public slots: // Public slots
00121 
00122 protected: // Protected methods
00127   void paintEvent(QPaintEvent* e);
00130   void changeGaussianBtnState();
00133   void changePulseBtnState();
00136   void changeTripletBtnState();
00145   void setGaussianText(int idx);
00154   void setPulseText(int idx);
00163   void setTripletText(int idx);
00164 
00165 protected slots: // Protected slots
00167   void slotFillSpikeTable();
00170   void slotShowFirstSignals();
00173   void slotNextSignal();
00176   void slotPreviousSignal();
00179   void slotLastSignal();
00182   void slotFirstSignal();
00185   void slotChangeSaveBtnState(QWidget*);
00188   void slotSave();
00190   void slotShowHelp();
00191 
00192 private: // Private methods
00195   bool readLoggedSigs();
00197   void clearLists();
00198 
00199 private: // Private attributes
00200   QList<SpikeScore>    spikeList;
00201   QList<GaussianScore> gaussianList;
00202   QList<PulseScore>    pulseList;
00203   QList<TripletScore>  tripletList;
00204   QString  wuname;
00205   SetiLoc* location;
00206 };
00207 
00208 #endif
KDE Logo
This file is part of the documentation for Ksetiwatch API Version 2.6.1.
Documentation copyright © 2000-2003 Gordon Machel.
Generated on Fri Jun 6 00:28:14 2003 by doxygen 1.2.18, written by Dimitri van Heesch, © 1997-2002