ODIN
pulsar.h
1 /***************************************************************************
2  pulsar.h - description
3  -------------------
4  begin : Fri Jul 7 13:38:24 /etc/localtime 2000
5  copyright : (C) 2000-2021 by Thies 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 
19 #ifndef PULSAR_H
20 #define PULSAR_H
21 
22 
23 #include "pulsarview.h"
24 
25 
26 #define IDS_PULSAR_ABOUT "Pulsar user interface\nVersion " VERSION \
27  "\n(w) 2000-2021 by Thies Jochimsen\n\n"
28 
29 
30 class PulsarMain : public QObject, public GuiMainWindow {
31  Q_OBJECT
32 
33  public:
34  PulsarMain();
35 
36  public slots:
37  void slotFileDone();
38  void slotFileQuit();
39  void slotHelpAbout();
40  void changeCaption(const char* text);
41 
42 
43  private:
44  void initMenuBar();
45  bool queryExit();
46 
47  PulsarView *view;
48 
49  GuiPopupMenu* fileMenu;
50  GuiPopupMenu* importMenu;
51  GuiPopupMenu* exportMenu;
52  GuiPopupMenu* viewMenu;
53  GuiPopupMenu* settingsMenu;
54  GuiPopupMenu* helpMenu;
55 
56 };
57 #endif
58