ODIN
odindialog_pulsar.h
1 /***************************************************************************
2  odindialog_pulsar.h - description
3  -------------------
4  begin : Mon Oct 10 21:30:11 CEST 2005
5  copyright : (C) 2000-2021 by Thies H. Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef ODINDIALOG_PULSAR_H
19 #define ODINDIALOG_PULSAR_H
20 
21 #include <qobject.h>
22 
23 #include <tjutils/tjprocess.h>
24 
25 #include <odinqt/odinqt.h>
26 
27 
28 class SeqPulsar; // forward declaration
29 
30 class PulsarDialog : public QObject, public GuiDialog, public GuiListViewCallback {
31  Q_OBJECT
32 
33  public:
34  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);
35  ~PulsarDialog();
36 
37  private slots:
38  void emitDone();
39 
40  private:
41 
42  // overloading virtual function of GuiListViewCallback
43  void clicked(GuiListItem* item);
44 
45  GuiGridLayout* grid;
46  GuiListView* pulsar_list;
47  GuiButton* pb_done;
48  STD_map<GuiListItem*, const SeqPulsar*> pulse_map;
49  STD_string pulsar_cmd;
50  STD_list<Process>& procs;
51  STD_string tmp_dir;
52  STD_string systemInfo_file;
53 };
54 
55 
56 #endif
Pulsar pulses, combines OdinPulse and SeqPulsNdim.
Definition: seqpulsar.h:41