MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrSimGui
lgrNetworkSettingsPrefPage.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 lgrNetworkSettingsPrefPage_H_
10
#define lgrNetworkSettingsPrefPage_H_
11
12
#include "
lgrSimGui.h
"
13
#include "
preferencesPage.h
"
14
#include <
lgrPreciseTimeEdit.h
>
15
16
class
QLabel;
17
class
QCheckBox;
18
class
QSpinBox;
19
20
namespace
MAKLogger
21
{
22
class
DtLgrFullInterface;
23
class
DtLoggerApplication;
24
27
class
DT_DLL_LGRSIMGUI
DtLgrNetworkSettingsPrefPage
:
public
DtPage
28
{
29
Q_OBJECT
30
31
public
:
32
34
DtLgrNetworkSettingsPrefPage
(
DtLoggerApplication
& app,
35
QWidget
* parent, Qt::WindowFlags f = 0);
36
38
virtual
~
DtLgrNetworkSettingsPrefPage
();
39
41
virtual
QIcon icon();
42
44
virtual
QString title();
45
47
virtual
const
std::string& pageClassName()
const
;
48
50
static
const
std::string& thePageClassName();
51
53
virtual
void
load();
54
56
virtual
void
accept();
57
59
virtual
void
reject();
60
62
virtual
double
drainInputMaxTime()
const
;
63
65
virtual
double
drainInputMinTime()
const
;
66
68
virtual
int
numPdusPerTimeCheck()
const
;
69
71
virtual
bool
saveConnectionConfiguration()
const
;
72
73
public
slots:
74
76
void
onReadAllCheck(
int
state);
77
78
protected
:
79
81
virtual
void
activate();
82
84
virtual
void
deactivate();
85
86
protected
:
87
DtLoggerApplication
&
myApplication
;
88
const
DtLgrFullInterface
*
myInterface
;
89
90
QCheckBox*
myReadAllMsgsCheckBox
;
91
92
QLabel*
myMaxReadTimeLabel
;
93
QLabel*
myMinReadTimeLabel
;
94
QLabel*
myNumPdusLabel
;
95
96
DtLgrPreciseTimeEdit
*
myMaxReadTimeEdit
;
97
DtLgrPreciseTimeEdit
*
myMinReadTimeEdit
;
98
QSpinBox*
myNumPdusSpinBox
;
99
QCheckBox*
mySaveConnectConfiguration
;
100
};
101
102
}
103
#endif
104
105
Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)