ODIN
odin.h
1 /***************************************************************************
2  odin.h - description
3  -------------------
4  begin : Sun Sep 28 21:30:11 CEST 2003
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 Odin_H
19 #define Odin_H
20 
21 
22 #include "odinview.h"
23 
152 #define IDS_ODIN_ABOUT "ODIN user interface\nVersion " VERSION \
153  "\n(w) 2004-2021 by Thies Jochimsen\n\n" \
154  "Compiled with the following plugins:\n" \
155  PLUGIN_LIBS \
156  "\n\nConfiguration:\n" \
157  ODIN_CONFIGSTR
158 
159 
160 class Odin : public QObject, public GuiMainWindow {
161  Q_OBJECT
162 
163  public:
164  Odin();
165 
166  void initOdin(GuiApplication* a, bool has_debug_cmdline);
167 
168 
169 
170  public slots:
171  void changeCaption(const char* text);
172  void changeStatus(bool status, const char* text);
173 
174 
175  private slots:
176  void slotHelpAbout();
177 
178  private:
179  OdinView *view;
180 
181  GuiPopupMenu *fileMenu;
182  GuiPopupMenu *actionMenu;
183  GuiPopupMenu *infoMenu;
184  GuiPopupMenu *brukerMenu;
185  GuiPopupMenu *siemensMenu;
186  GuiPopupMenu *geMenu;
187  GuiPopupMenu *prefMenu;
188 
189  GuiPopupMenu *helpMenu;
190 
191  GuiToolBar *toolbar;
192 
193  bool old_status;
194  bool first_status;
195 };
196 
197 
198 
199 #endif
200