PulsarGUI.h
1 #include "qapplication.h"
2 #include "qmainwindow.h"
3 #include "qradiobutton.h"
4 #include "qbuttongroup.h"
5 #include "qerrormessage.h"
6 #include "qfiledialog.h"
7 #include "qpopupmenu.h"
8 #include "qvbox.h"
9 #include "qmenubar.h"
10 #include "qtoolbar.h"
11 #include "qaction.h"
12 #include "qgroupbox.h"
13 #include "qcheckbox.h"
14 
15 #include "Pulsar/Plot.h"
16 #include "Pulsar/PlotFactory.h"
17 #include "Pulsar/Archive.h"
18 #include "Pulsar/Interpreter.h"
19 
20 #include "plotItem.h"
21 #include "interfacePanel.h"
22 
23 #include "TextInterface.h"
24 #include "Error.h"
25 
26 #include "cpgplot.h"
27 
28 #include <iostream>
29 
30 namespace Pulsar {
31 
32  class PlotWindow;
33 
34  class PulsarGUI : public QMainWindow
35  {
36  Q_OBJECT
37 
38  public:
39 
40  // Basic constructor
41  PulsarGUI (QApplication* qa);
42 
43  void readFile(QString& filename);
44 
45  protected slots:
46 
47  void fileOpen();
48  void fileQuit();
49 
50  void confFrame();
51  void confGraph();
52  void confProc();
53  void confDialog();
54 
55  void plotGraph();
56 
57  void preProcess();
58  void undoChanges();
59 
60  protected:
61 
66 
67  QLineEdit* ppLe;
68  QCheckBox* autoBase;
69 
70  QButtonGroup* psrButtons;
71 
72  QPopupMenu* fileMenu;
73  QPopupMenu* confMenu;
74 
75  QToolBar* psrTools;
76 
77  QApplication* myApp;
78 
79  void report (Error&);
80 
81  private:
82 
83  };
84 }
Manages a window in which to Plot an Archive.
Definition: UsingXSERVE.h:23
static Archive * load(const std::string &name)
Factory returns a new instance loaded from filename.
Definition: Archive_load.C:28
Manages a window in which to Plot an Archive.
Definition: UsingQTDRIV.h:24
const std::string get_message() const
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Pulsar data processing command language interpreter.
Definition: Interpreter.h:57

Generated using doxygen 1.8.17