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-2025 MAK Technologies, Inc
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 
47  virtual DtQIconConfigurations qIconConfigurations() const;
48 
50  virtual QString title();
51 
53  virtual const std::string& pageClassName() const;
54 
56  static const std::string& thePageClassName();
57 
59  virtual bool saveProtocolConfiguration() const;
60 
62  virtual void load();
63 
65  virtual void accept();
66 
68  virtual void reject();
69 
70  public slots:
71  void toggleDisVersionSpinBox();
72 
73  protected:
74 
76  virtual void activate();
77 
79  virtual void deactivate();
80 
81  protected:
82  DtLoggerApplication* myApplication;
83  const DtLgrFullInterface* myInterface;
84 
85  QLabel* myHeartbeatLabel;
86  QLabel* myTimeoutLabel;
87  QLabel* myVersionLabel;
88  QLabel* myPauseOptionLabel;
89  QLabel* myVersionCheckBoxLabel;
90 
91  QLineEdit* myHeartbeatLineEdit;
92  QLineEdit* myTimeoutLineEdit;
93  QSpinBox* myVersionSpinBox;
94  QCheckBox *myEnableVersionOverride;
95  QCheckBox* mySaveProtocolConfiguration;
96  QCheckBox* myPauseOptionCheckBox;
97  };
98 
99 }
100 #endif
101 #endif
102 
103 
Contains DtPage class.
Defines IMPORT/EXPORT macros for lgrSimGui library.
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)