00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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;
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
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