MAK Data Logger API Documentation for DIS
lgrHlaSimMenus.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrHlaSimMenus_H_
11 #define lgrHlaSimMenus_H_
12 
13 #if DtHLA
14 
15 #include "lgrSimMenus.h"
16 #include <QtCore/QObject>
17 
18 class QAction;
19 
20 namespace MAKLogger
21 {
22 
23  class DtHlaConnectionDialog;
24  class DtLgrHlaSimInterface;
25  class DtPreferencesPageDialog;
26 
29  class DT_DLL_LGRSIMGUI DtLgrHlaSimMenus : public QObject, public DtLgrSimMenus
30  {
31  Q_OBJECT
32  public:
33 
34  DT_VIRTUAL_CTR(DtLgrHlaSimMenus, (DtLoggerApplication& app) )
35  DT_VIRTUAL_BASE_CTR(DtLgrSimMenus, (DtLoggerApplication& app) )
36 
37 
38  virtual ~DtLgrHlaSimMenus();
39 
41  void initialize();
42 
43  public slots:
44 
46  virtual void showConnectionDialog();
47 
49  virtual void showConfigurationDialog();
50 
52  virtual void disconnect();
53 
55  virtual void connect();
56 
58  virtual void connectStatusChanged(bool connected);
59 
61  virtual void unableToConnect(bool dummy);
62 
63  protected:
64 
66  virtual void registerConnectStatusChangeSlot();
67 
68  protected:
69 
70  DtLoggerApplication& myApplication;
71  DtHlaConnectionDialog* myConnectionDialog;
72  QAction* myConnectionAction;
73  QAction* myShowConfigurationDialogAction;
74  QAction* myDisconnectAction;
75  QAction* myConnectAction;
76  DtPreferencesPageDialog* myPrefsDialog;
77  bool myRegisteredConnectSignal;
78 
79  };
80 
81 }
82 
83 #endif
84 #endif
85 

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)