odindialog_pulsar.h

00001 /***************************************************************************
00002                           odindialog_pulsar.h  -  description
00003                              -------------------
00004     begin                : Mon Oct 10 21:30:11 CEST 2005
00005     copyright            : (C) 2003 by Thies H. Jochimsen
00006     email                : jochimse@cns.mpg.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef ODINDIALOG_PULSAR_H
00019 #define ODINDIALOG_PULSAR_H
00020 
00021 #include <qobject.h>
00022 
00023 #include <tjutils/tjprocess.h>
00024 
00025 #include <odinqt/odinqt.h>
00026 
00027 
00028 class SeqPulsar; // forward declaration
00029 
00030 class PulsarDialog :  public QObject, public GuiDialog, public GuiListViewCallback {
00031  Q_OBJECT
00032 
00033  public:
00034   PulsarDialog(const STD_list<const SeqPulsar*>& pulses, const STD_string& pulsarcmd, STD_list<Process>& subprocs, const STD_string& tmpdir, const STD_string& systemInfoFile, QWidget *parent);
00035   ~PulsarDialog();
00036 
00037  private slots:
00038   void emitDone();
00039 
00040  private:
00041 
00042   // overloading virtual function of GuiListViewCallback
00043   void clicked(GuiListItem* item);
00044 
00045   GuiGridLayout* grid;
00046   GuiListView* pulsar_list;
00047   GuiButton* pb_done;
00048   STD_map<GuiListItem*, const SeqPulsar*> pulse_map;
00049   STD_string pulsar_cmd;
00050   STD_list<Process>& procs;
00051   STD_string tmp_dir;
00052   STD_string systemInfo_file;
00053 };
00054 
00055 
00056 #endif

Generated on Fri Oct 10 17:25:53 2008 by  doxygen 1.5.1