MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDisConfigPrefPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2012 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrDisConfigPrefPage_H_
10 #define lgrDisConfigPrefPage_H_
11 
12 #if DtDIS
13 
14 #include <lgrSimGui/lgrSimGui.h>
15 #include <lgrGui/preferencesPage.h>
16 #include <commonWidgets/preciseTimeEdit.h>
17 
18 class QLabel;
19 class QLineEdit;
20 class QCheckBox;
21 class QSpinBox;
22 
23 namespace MAKLogger
24 {
25  class DtLoggerApplication;
26  class DtLgrFullInterface;
27 
30  class DT_DLL_LGRSIMGUI DtLgrDisConfigPrefPage : public DtPage
31  {
32  public:
33 
35  DtLgrDisConfigPrefPage(DtLoggerApplication* application,
36  QWidget* parent, Qt::WindowFlags f = 0);
37 
39  virtual ~DtLgrDisConfigPrefPage();
40 
42  virtual QIcon icon();
43 
45  virtual QString title();
46 
48  virtual const std::string& pageClassName() const;
49 
51  static const std::string& thePageClassName();
52 
54  virtual bool saveProtocolConfiguration() const;
55 
57  virtual void load();
58 
60  virtual void accept();
61 
63  virtual void reject();
64 
65  protected:
66 
68  virtual void activate();
69 
71  virtual void deactivate();
72 
73  protected:
74  DtLoggerApplication* myApplication;
75  const DtLgrFullInterface* myInterface;
76 
77  QLabel* myHeartbeatLabel;
78  QLabel* myTimeoutLabel;
79  QLabel* myVersionLabel;
80  QLabel* myPauseOptionLabel;
81 
82  QLineEdit* myHeartbeatLineEdit;
83  QLineEdit* myTimeoutLineEdit;
84  QSpinBox* myVersionSpinBox;
85  QCheckBox* mySaveProtocolConfiguration;
86  QCheckBox* myPauseOptionCheckBox;
87  };
88 
89 }
90 #endif
91 #endif
92 
93 

Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)