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  Q_OBJECT
33  public:
34 
36  DtLgrDisConfigPrefPage(DtLoggerApplication* application,
37  QWidget* parent, Qt::WindowFlags f = 0);
38 
40  virtual ~DtLgrDisConfigPrefPage();
41 
43  virtual QIcon icon();
44 
46  virtual QString title();
47 
49  virtual const std::string& pageClassName() const;
50 
52  static const std::string& thePageClassName();
53 
55  virtual bool saveProtocolConfiguration() const;
56 
58  virtual void load();
59 
61  virtual void accept();
62 
64  virtual void reject();
65 
66  public slots:
67  void toggleDisVersionSpinBox();
68 
69  protected:
70 
72  virtual void activate();
73 
75  virtual void deactivate();
76 
77  protected:
78  DtLoggerApplication* myApplication;
79  const DtLgrFullInterface* myInterface;
80 
81  QLabel* myHeartbeatLabel;
82  QLabel* myTimeoutLabel;
83  QLabel* myVersionLabel;
84  QLabel* myPauseOptionLabel;
85  QLabel* myVersionCheckBoxLabel;
86 
87  QLineEdit* myHeartbeatLineEdit;
88  QLineEdit* myTimeoutLineEdit;
89  QSpinBox* myVersionSpinBox;
90  QCheckBox *myEnableVersionOverride;
91  QCheckBox* mySaveProtocolConfiguration;
92  QCheckBox* myPauseOptionCheckBox;
93  };
94 
95 }
96 #endif
97 #endif
98 
99 
Contains DtPage class.
Defines IMPORT/EXPORT macros for lgrSimGui library.
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)