summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/netsystemtime.pro2
-rw-r--r--noncore/settings/netsystemtime/ntpbase.cpp24
-rw-r--r--noncore/settings/netsystemtime/ntpbase.h8
-rw-r--r--noncore/settings/netsystemtime/ntpbase.ui6
4 files changed, 20 insertions, 20 deletions
diff --git a/noncore/settings/netsystemtime/netsystemtime.pro b/noncore/settings/netsystemtime/netsystemtime.pro
index 0530ea5..3aaf369 100644
--- a/noncore/settings/netsystemtime/netsystemtime.pro
+++ b/noncore/settings/netsystemtime/netsystemtime.pro
@@ -1,26 +1,26 @@
1 TEMPLATE= app 1 TEMPLATE= app
2 CONFIG = qt warn_on debug 2 CONFIG = qt warn_on debug
3 #CONFIG = qt warn_on release 3 #CONFIG = qt warn_on release
4 HEADERS = ntp.h settime.h ntpbase.h 4 HEADERS = ntp.h settime.h ntpbase.h
5 SOURCES = main.cpp ntp.cpp settime.cpp ntpbase.cpp 5 SOURCES = main.cpp ntp.cpp settime.cpp ntpbase.cpp
6 INCLUDEPATH+= $(OPIEDIR)/include 6 INCLUDEPATH+= $(OPIEDIR)/include
7 DEPENDPATH+= $(OPIEDIR)/include 7 DEPENDPATH+= $(OPIEDIR)/include
8LIBS += -lqpe -lopie 8LIBS += -lqpe -lopie
9 INTERFACES= 9 INTERFACES=
10DESTDIR = $(OPIEDIR)/bin 10DESTDIR = $(OPIEDIR)/bin
11 TARGET = netsystemtime 11 TARGET = systemtime
12 12
13TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \ 13TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \
14 ../../../i18n/en/netsystemtime.ts \ 14 ../../../i18n/en/netsystemtime.ts \
15 ../../../i18n/es/netsystemtime.ts \ 15 ../../../i18n/es/netsystemtime.ts \
16 ../../../i18n/fr/netsystemtime.ts \ 16 ../../../i18n/fr/netsystemtime.ts \
17 ../../../i18n/hu/netsystemtime.ts \ 17 ../../../i18n/hu/netsystemtime.ts \
18 ../../../i18n/ja/netsystemtime.ts \ 18 ../../../i18n/ja/netsystemtime.ts \
19 ../../../i18n/ko/netsystemtime.ts \ 19 ../../../i18n/ko/netsystemtime.ts \
20 ../../../i18n/no/netsystemtime.ts \ 20 ../../../i18n/no/netsystemtime.ts \
21 ../../../i18n/pl/netsystemtime.ts \ 21 ../../../i18n/pl/netsystemtime.ts \
22 ../../../i18n/pt/netsystemtime.ts \ 22 ../../../i18n/pt/netsystemtime.ts \
23 ../../../i18n/pt_BR/netsystemtime.ts \ 23 ../../../i18n/pt_BR/netsystemtime.ts \
24 ../../../i18n/sl/netsystemtime.ts \ 24 ../../../i18n/sl/netsystemtime.ts \
25 ../../../i18n/zh_CN/netsystemtime.ts \ 25 ../../../i18n/zh_CN/netsystemtime.ts \
26 ../../../i18n/zh_TW/netsystemtime.ts 26 ../../../i18n/zh_TW/netsystemtime.ts
diff --git a/noncore/settings/netsystemtime/ntpbase.cpp b/noncore/settings/netsystemtime/ntpbase.cpp
index c10c6ae..8d44f17 100644
--- a/noncore/settings/netsystemtime/ntpbase.cpp
+++ b/noncore/settings/netsystemtime/ntpbase.cpp
@@ -1,338 +1,338 @@
1/**************************************************************************** 1/****************************************************************************
2** Form implementation generated from reading ui file 'ntpbase.ui' 2** Form implementation generated from reading ui file 'ntpbase.ui'
3** 3**
4** Created: Mon Oct 21 21:32:47 2002 4** Created: Mon Oct 21 21:32:47 2002
5** by: The User Interface Compiler (uic) 5** by: The User Interface Compiler (uic)
6** 6**
7** WARNING! All changes made in this file will be lost! 7** WARNING! All changes made in this file will be lost!
8****************************************************************************/ 8****************************************************************************/
9#include "ntpbase.h" 9#include "ntpbase.h"
10 10
11#include <qcheckbox.h> 11#include <qcheckbox.h>
12#include <qcombobox.h> 12#include <qcombobox.h>
13#include <qframe.h> 13#include <qframe.h>
14#include <qlabel.h> 14#include <qlabel.h>
15#include <qmultilineedit.h> 15#include <qmultilineedit.h>
16#include <qpushbutton.h> 16#include <qpushbutton.h>
17#include <qspinbox.h> 17#include <qspinbox.h>
18#include <qtable.h> 18#include <qtable.h>
19#include <qtabwidget.h> 19#include <qtabwidget.h>
20#include <qlayout.h> 20#include <qlayout.h>
21#include <qvariant.h> 21#include <qvariant.h>
22#include <qtooltip.h> 22#include <qtooltip.h>
23#include <qwhatsthis.h> 23#include <qwhatsthis.h>
24 24
25/* 25/*
26 * Constructs a NtpBase which is a child of 'parent', with the 26 * Constructs a NtpBase which is a child of 'parent', with the
27 * name 'name' and widget flags set to 'f' 27 * name 'name' and widget flags set to 'f'
28 */ 28 */
29NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) 29NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl )
30 : QWidget( parent, name, fl ) 30 : QWidget( parent, name, fl )
31{ 31{
32 if ( !name ) 32 if ( !name )
33 setName( "NtpBase" ); 33 setName( "NtpBase" );
34 resize( 320, 411 ); 34 resize( 320, 411 );
35 setCaption( tr( "Network Time" ) ); 35 setCaption( tr( "Network Time" ) );
36 NtpBaseLayout = new QGridLayout( this ); 36 NtpBaseLayout = new QGridLayout( this );
37 NtpBaseLayout->setSpacing( 2 ); 37 NtpBaseLayout->setSpacing( 2 );
38 NtpBaseLayout->setMargin( 2 ); 38 NtpBaseLayout->setMargin( 2 );
39 39
40 TabWidgetMain = new QTabWidget( this, "TabWidgetMain" ); 40 TabWidgetMain = new QTabWidget( this, "TabWidgetMain" );
41 41
42 tabMain = new QWidget( TabWidgetMain, "tabMain" ); 42 tabMain = new QWidget( TabWidgetMain, "tabMain" );
43 tabMainLayout = new QGridLayout( tabMain ); 43 tabMainLayout = new QGridLayout( tabMain );
44 tabMainLayout->setSpacing( 2 ); 44 tabMainLayout->setSpacing( 2 );
45 tabMainLayout->setMargin( 2 ); 45 tabMainLayout->setMargin( 2 );
46 46
47 FrameSystemTime = new QFrame( tabMain, "FrameSystemTime" ); 47 FrameSystemTime = new QWidget( tabMain, "FrameSystemTime" );
48 FrameSystemTime->setFrameShape( QFrame::StyledPanel ); 48 // FrameSystemTime->setFrameShape( QFrame::StyledPanel );
49 FrameSystemTime->setFrameShadow( QFrame::Raised ); 49 //FrameSystemTime->setFrameShadow( QFrame::Raised );
50 50
51 tabMainLayout->addWidget( FrameSystemTime, 0, 0 ); 51 tabMainLayout->addWidget( FrameSystemTime, 0, 0 );
52 52
53 tabNtp = new QWidget( TabWidgetMain, "tabNtp" ); 53 tabNtp = new QWidget( TabWidgetMain, "tabNtp" );
54 tabNtpLayout = new QGridLayout( tabNtp ); 54 tabNtpLayout = new QGridLayout( tabNtp );
55 tabNtpLayout->setSpacing( 2 ); 55 tabNtpLayout->setSpacing( 2 );
56 tabNtpLayout->setMargin( 1 ); 56 tabNtpLayout->setMargin( 1 );
57 57
58 runNtp = new QPushButton( tabNtp, "runNtp" ); 58 runNtp = new QPushButton( tabNtp, "runNtp" );
59 runNtp->setText( tr( "Get time from network" ) ); 59 runNtp->setText( tr( "Get time from network" ) );
60 60
61 tabNtpLayout->addWidget( runNtp, 1, 0 ); 61 tabNtpLayout->addWidget( runNtp, 1, 0 );
62 62
63 FrameNtp = new QFrame( tabNtp, "FrameNtp" ); 63 FrameNtp = new QWidget( tabNtp, "FrameNtp" );
64 FrameNtp->setFrameShape( QFrame::StyledPanel ); 64 // FrameNtp->setFrameShape( QFrame::StyledPanel );
65 FrameNtp->setFrameShadow( QFrame::Raised ); 65 // FrameNtp->setFrameShadow( QFrame::Raised );
66 FrameNtpLayout = new QGridLayout( FrameNtp ); 66 FrameNtpLayout = new QGridLayout( FrameNtp );
67 FrameNtpLayout->setSpacing( 2 ); 67 FrameNtpLayout->setSpacing( 2 );
68 FrameNtpLayout->setMargin( 2 ); 68 FrameNtpLayout->setMargin( 2 );
69 69
70 Layout4 = new QVBoxLayout; 70 Layout4 = new QVBoxLayout;
71 Layout4->setSpacing( 6 ); 71 Layout4->setSpacing( 6 );
72 Layout4->setMargin( 0 ); 72 Layout4->setMargin( 0 );
73 73
74 TextLabel1 = new QLabel( FrameNtp, "TextLabel1" ); 74 TextLabel1 = new QLabel( FrameNtp, "TextLabel1" );
75 TextLabel1->setAutoMask( FALSE ); 75 TextLabel1->setAutoMask( FALSE );
76 TextLabel1->setText( tr( "Start Time:" ) ); 76 TextLabel1->setText( tr( "Start Time:" ) );
77 Layout4->addWidget( TextLabel1 ); 77 Layout4->addWidget( TextLabel1 );
78 78
79 TextLabelStartTime = new QLabel( FrameNtp, "TextLabelStartTime" ); 79 TextLabelStartTime = new QLabel( FrameNtp, "TextLabelStartTime" );
80 TextLabelStartTime->setText( tr( "nan" ) ); 80 TextLabelStartTime->setText( tr( "nan" ) );
81 Layout4->addWidget( TextLabelStartTime ); 81 Layout4->addWidget( TextLabelStartTime );
82 82
83 TextLabel3 = new QLabel( FrameNtp, "TextLabel3" ); 83 TextLabel3 = new QLabel( FrameNtp, "TextLabel3" );
84 TextLabel3->setText( tr( "Time Shift:" ) ); 84 TextLabel3->setText( tr( "Time Shift:" ) );
85 Layout4->addWidget( TextLabel3 ); 85 Layout4->addWidget( TextLabel3 );
86 86
87 TextLabelTimeShift = new QLabel( FrameNtp, "TextLabelTimeShift" ); 87 TextLabelTimeShift = new QLabel( FrameNtp, "TextLabelTimeShift" );
88 TextLabelTimeShift->setText( tr( "nan" ) ); 88 TextLabelTimeShift->setText( tr( "nan" ) );
89 Layout4->addWidget( TextLabelTimeShift ); 89 Layout4->addWidget( TextLabelTimeShift );
90 90
91 TextLabel5 = new QLabel( FrameNtp, "TextLabel5" ); 91 TextLabel5 = new QLabel( FrameNtp, "TextLabel5" );
92 TextLabel5->setText( tr( "New Time:" ) ); 92 TextLabel5->setText( tr( "New Time:" ) );
93 Layout4->addWidget( TextLabel5 ); 93 Layout4->addWidget( TextLabel5 );
94 94
95 TextLabelNewTime = new QLabel( FrameNtp, "TextLabelNewTime" ); 95 TextLabelNewTime = new QLabel( FrameNtp, "TextLabelNewTime" );
96 TextLabelNewTime->setText( tr( "nan" ) ); 96 TextLabelNewTime->setText( tr( "nan" ) );
97 Layout4->addWidget( TextLabelNewTime ); 97 Layout4->addWidget( TextLabelNewTime );
98 QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); 98 QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
99 Layout4->addItem( spacer ); 99 Layout4->addItem( spacer );
100 100
101 FrameNtpLayout->addLayout( Layout4, 0, 0 ); 101 FrameNtpLayout->addLayout( Layout4, 0, 0 );
102 102
103 MultiLineEditntpOutPut = new QMultiLineEdit( FrameNtp, "MultiLineEditntpOutPut" ); 103 MultiLineEditntpOutPut = new QMultiLineEdit( FrameNtp, "MultiLineEditntpOutPut" );
104 QFont MultiLineEditntpOutPut_font( MultiLineEditntpOutPut->font() ); 104 QFont MultiLineEditntpOutPut_font( MultiLineEditntpOutPut->font() );
105 MultiLineEditntpOutPut_font.setPointSize( 7 ); 105 MultiLineEditntpOutPut_font.setPointSize( 7 );
106 MultiLineEditntpOutPut->setFont( MultiLineEditntpOutPut_font ); 106 MultiLineEditntpOutPut->setFont( MultiLineEditntpOutPut_font );
107 MultiLineEditntpOutPut->setWordWrap( QMultiLineEdit::WidgetWidth ); 107 MultiLineEditntpOutPut->setWordWrap( QMultiLineEdit::WidgetWidth );
108 MultiLineEditntpOutPut->setText( tr( "" ) ); 108 MultiLineEditntpOutPut->setText( tr( "" ) );
109 109
110 FrameNtpLayout->addWidget( MultiLineEditntpOutPut, 1, 0 ); 110 FrameNtpLayout->addWidget( MultiLineEditntpOutPut, 1, 0 );
111 111
112 tabNtpLayout->addWidget( FrameNtp, 0, 0 ); 112 tabNtpLayout->addWidget( FrameNtp, 0, 0 );
113 113
114 tabPredict = new QWidget( TabWidgetMain, "tabPredict" ); 114 tabPredict = new QWidget( TabWidgetMain, "tabPredict" );
115 tabPredictLayout = new QGridLayout( tabPredict ); 115 tabPredictLayout = new QGridLayout( tabPredict );
116 tabPredictLayout->setSpacing( 6 ); 116 tabPredictLayout->setSpacing( 6 );
117 tabPredictLayout->setMargin( 5 ); 117 tabPredictLayout->setMargin( 5 );
118 118
119 TableLookups = new QTable( tabPredict, "TableLookups" ); 119 TableLookups = new QTable( tabPredict, "TableLookups" );
120 QFont TableLookups_font( TableLookups->font() ); 120 QFont TableLookups_font( TableLookups->font() );
121 TableLookups_font.setPointSize( 8 ); 121 TableLookups_font.setPointSize( 8 );
122 TableLookups->setFont( TableLookups_font ); 122 TableLookups->setFont( TableLookups_font );
123 TableLookups->setNumRows( 2 ); 123 TableLookups->setNumRows( 2 );
124 TableLookups->setNumCols( 2 ); 124 TableLookups->setNumCols( 2 );
125 125
126 tabPredictLayout->addWidget( TableLookups, 0, 0 ); 126 tabPredictLayout->addWidget( TableLookups, 0, 0 );
127 127
128 Layout9 = new QGridLayout; 128 Layout9 = new QGridLayout;
129 Layout9->setSpacing( 6 ); 129 Layout9->setSpacing( 6 );
130 Layout9->setMargin( 0 ); 130 Layout9->setMargin( 0 );
131 131
132 TextLabelShift = new QLabel( tabPredict, "TextLabelShift" ); 132 TextLabelShift = new QLabel( tabPredict, "TextLabelShift" );
133 TextLabelShift->setText( tr( "nan" ) ); 133 TextLabelShift->setText( tr( "nan" ) );
134 134
135 Layout9->addWidget( TextLabelShift, 0, 1 ); 135 Layout9->addWidget( TextLabelShift, 0, 1 );
136 136
137 TextLabel4 = new QLabel( tabPredict, "TextLabel4" ); 137 TextLabel4 = new QLabel( tabPredict, "TextLabel4" );
138 TextLabel4->setText( tr( "Esimated Shift:" ) ); 138 TextLabel4->setText( tr( "Esimated Shift:" ) );
139 139
140 Layout9->addWidget( TextLabel4, 1, 0 ); 140 Layout9->addWidget( TextLabel4, 1, 0 );
141 141
142 TextLabelEstimatedShift = new QLabel( tabPredict, "TextLabelEstimatedShift" ); 142 TextLabelEstimatedShift = new QLabel( tabPredict, "TextLabelEstimatedShift" );
143 TextLabelEstimatedShift->setText( tr( "nan" ) ); 143 TextLabelEstimatedShift->setText( tr( "nan" ) );
144 144
145 Layout9->addWidget( TextLabelEstimatedShift, 1, 1 ); 145 Layout9->addWidget( TextLabelEstimatedShift, 1, 1 );
146 146
147 TextLabel3_2 = new QLabel( tabPredict, "TextLabel3_2" ); 147 TextLabel3_2 = new QLabel( tabPredict, "TextLabel3_2" );
148 TextLabel3_2->setText( tr( "Predicted Time:" ) ); 148 TextLabel3_2->setText( tr( "Predicted Time:" ) );
149 149
150 Layout9->addWidget( TextLabel3_2, 2, 0 ); 150 Layout9->addWidget( TextLabel3_2, 2, 0 );
151 151
152 Mean_shift_label = new QLabel( tabPredict, "Mean_shift_label" ); 152 Mean_shift_label = new QLabel( tabPredict, "Mean_shift_label" );
153 Mean_shift_label->setText( tr( "Mean shift:" ) ); 153 Mean_shift_label->setText( tr( "Mean shift:" ) );
154 154
155 Layout9->addWidget( Mean_shift_label, 0, 0 ); 155 Layout9->addWidget( Mean_shift_label, 0, 0 );
156 156
157 TextLabelPredTime = new QLabel( tabPredict, "TextLabelPredTime" ); 157 TextLabelPredTime = new QLabel( tabPredict, "TextLabelPredTime" );
158 TextLabelPredTime->setText( tr( "nan" ) ); 158 TextLabelPredTime->setText( tr( "nan" ) );
159 159
160 Layout9->addWidget( TextLabelPredTime, 2, 1 ); 160 Layout9->addWidget( TextLabelPredTime, 2, 1 );
161 161
162 tabPredictLayout->addLayout( Layout9, 1, 0 ); 162 tabPredictLayout->addLayout( Layout9, 1, 0 );
163 163
164 Layout11 = new QHBoxLayout; 164 Layout11 = new QHBoxLayout;
165 Layout11->setSpacing( 6 ); 165 Layout11->setSpacing( 6 );
166 Layout11->setMargin( 0 ); 166 Layout11->setMargin( 0 );
167 167
168 PushButtonSetPredTime = new QPushButton( tabPredict, "PushButtonSetPredTime" ); 168 PushButtonSetPredTime = new QPushButton( tabPredict, "PushButtonSetPredTime" );
169 PushButtonSetPredTime->setText( tr( "Set predicted time" ) ); 169 PushButtonSetPredTime->setText( tr( "Set predicted time" ) );
170 Layout11->addWidget( PushButtonSetPredTime ); 170 Layout11->addWidget( PushButtonSetPredTime );
171 171
172 PushButtonPredict = new QPushButton( tabPredict, "PushButtonPredict" ); 172 PushButtonPredict = new QPushButton( tabPredict, "PushButtonPredict" );
173 PushButtonPredict->setText( tr( "Predict time" ) ); 173 PushButtonPredict->setText( tr( "Predict time" ) );
174 Layout11->addWidget( PushButtonPredict ); 174 Layout11->addWidget( PushButtonPredict );
175 175
176 tabPredictLayout->addLayout( Layout11, 2, 0 ); 176 tabPredictLayout->addLayout( Layout11, 2, 0 );
177 177
178 TabSettings = new QWidget( TabWidgetMain, "TabSettings" ); 178 TabSettings = new QWidget( TabWidgetMain, "TabSettings" );
179 TabSettingsLayout = new QGridLayout( TabSettings ); 179 TabSettingsLayout = new QGridLayout( TabSettings );
180 TabSettingsLayout->setSpacing( 2 ); 180 TabSettingsLayout->setSpacing( 2 );
181 TabSettingsLayout->setMargin( 2 ); 181 TabSettingsLayout->setMargin( 2 );
182 182
183 FrameSettings = new QFrame( TabSettings, "FrameSettings" ); 183 FrameSettings = new QWidget( TabSettings, "FrameSettings" );
184 FrameSettings->setFrameShape( QFrame::StyledPanel ); 184 // FrameSettings->setFrameShape( QFrame::StyledPanel );
185 FrameSettings->setFrameShadow( QFrame::Raised ); 185 // FrameSettings->setFrameShadow( QFrame::Raised );
186 FrameSettingsLayout = new QVBoxLayout( FrameSettings ); 186 FrameSettingsLayout = new QVBoxLayout( FrameSettings );
187 FrameSettingsLayout->setSpacing( 6 ); 187 FrameSettingsLayout->setSpacing( 6 );
188 FrameSettingsLayout->setMargin( 11 ); 188 FrameSettingsLayout->setMargin( 11 );
189 189
190 Layout6 = new QGridLayout; 190 Layout6 = new QGridLayout;
191 Layout6->setSpacing( 6 ); 191 Layout6->setSpacing( 6 );
192 Layout6->setMargin( 0 ); 192 Layout6->setMargin( 0 );
193 193
194 TextLabel7_2 = new QLabel( FrameSettings, "TextLabel7_2" ); 194 TextLabel7_2 = new QLabel( FrameSettings, "TextLabel7_2" );
195 TextLabel7_2->setText( tr( "Use" ) ); 195 TextLabel7_2->setText( tr( "Use" ) );
196 196
197 Layout6->addWidget( TextLabel7_2, 0, 0 ); 197 Layout6->addWidget( TextLabel7_2, 0, 0 );
198 198
199 TextLabel2_2 = new QLabel( FrameSettings, "TextLabel2_2" ); 199 TextLabel2_2 = new QLabel( FrameSettings, "TextLabel2_2" );
200 TextLabel2_2->setText( tr( "as" ) ); 200 TextLabel2_2->setText( tr( "as" ) );
201 201
202 Layout6->addWidget( TextLabel2_2, 0, 2 ); 202 Layout6->addWidget( TextLabel2_2, 0, 2 );
203 203
204 TextLabel1_3 = new QLabel( FrameSettings, "TextLabel1_3" ); 204 TextLabel1_3 = new QLabel( FrameSettings, "TextLabel1_3" );
205 TextLabel1_3->setText( tr( "NTP server to get the time from the network." ) ); 205 TextLabel1_3->setText( tr( "NTP server to get the time from the network." ) );
206 TextLabel1_3->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); 206 TextLabel1_3->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
207 207
208 Layout6->addMultiCellWidget( TextLabel1_3, 1, 1, 0, 1 ); 208 Layout6->addMultiCellWidget( TextLabel1_3, 1, 1, 0, 1 );
209 209
210 ComboNtpSrv = new QComboBox( FALSE, FrameSettings, "ComboNtpSrv" ); 210 ComboNtpSrv = new QComboBox( FALSE, FrameSettings, "ComboNtpSrv" );
211 ComboNtpSrv->setEditable( TRUE ); 211 ComboNtpSrv->setEditable( TRUE );
212 212
213 Layout6->addWidget( ComboNtpSrv, 0, 1 ); 213 Layout6->addWidget( ComboNtpSrv, 0, 1 );
214 FrameSettingsLayout->addLayout( Layout6 ); 214 FrameSettingsLayout->addLayout( Layout6 );
215 QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum ); 215 QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum );
216 FrameSettingsLayout->addItem( spacer_2 ); 216 FrameSettingsLayout->addItem( spacer_2 );
217 217
218 CheckBoxAdvSettings = new QCheckBox( FrameSettings, "CheckBoxAdvSettings" ); 218 CheckBoxAdvSettings = new QCheckBox( FrameSettings, "CheckBoxAdvSettings" );
219 CheckBoxAdvSettings->setText( tr( "Advanced features" ) ); 219 CheckBoxAdvSettings->setText( tr( "Advanced features" ) );
220 FrameSettingsLayout->addWidget( CheckBoxAdvSettings ); 220 FrameSettingsLayout->addWidget( CheckBoxAdvSettings );
221 QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); 221 QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
222 FrameSettingsLayout->addItem( spacer_3 ); 222 FrameSettingsLayout->addItem( spacer_3 );
223 223
224 Line1 = new QFrame( FrameSettings, "Line1" ); 224 Line1 = new QFrame( FrameSettings, "Line1" );
225 Line1->setFrameStyle( QFrame::HLine | QFrame::Sunken ); 225 Line1->setFrameStyle( QFrame::HLine | QFrame::Sunken );
226 FrameSettingsLayout->addWidget( Line1 ); 226 FrameSettingsLayout->addWidget( Line1 );
227 227
228 Layout7_2 = new QGridLayout; 228 Layout7_2 = new QGridLayout;
229 Layout7_2->setSpacing( 6 ); 229 Layout7_2->setSpacing( 6 );
230 Layout7_2->setMargin( 0 ); 230 Layout7_2->setMargin( 0 );
231 231
232 TextLabel1_2_2 = new QLabel( FrameSettings, "TextLabel1_2_2" ); 232 TextLabel1_2_2 = new QLabel( FrameSettings, "TextLabel1_2_2" );
233 TextLabel1_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, TextLabel1_2_2->sizePolicy().hasHeightForWidth() ) ); 233 TextLabel1_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)1, TextLabel1_2_2->sizePolicy().hasHeightForWidth() ) );
234 TextLabel1_2_2->setText( tr( "Wait for " ) ); 234 TextLabel1_2_2->setText( tr( "Wait for " ) );
235 235
236 Layout7_2->addWidget( TextLabel1_2_2, 0, 0 ); 236 Layout7_2->addWidget( TextLabel1_2_2, 0, 0 );
237 237
238 TextLabel2_3 = new QLabel( FrameSettings, "TextLabel2_3" ); 238 TextLabel2_3 = new QLabel( FrameSettings, "TextLabel2_3" );
239 TextLabel2_3->setText( tr( "minutes until" ) ); 239 TextLabel2_3->setText( tr( "minutes until" ) );
240 240
241 Layout7_2->addWidget( TextLabel2_3, 0, 2 ); 241 Layout7_2->addWidget( TextLabel2_3, 0, 2 );
242 242
243 TextLabel3_3_2 = new QLabel( FrameSettings, "TextLabel3_3_2" ); 243 TextLabel3_3_2 = new QLabel( FrameSettings, "TextLabel3_3_2" );
244 TextLabel3_3_2->setText( tr( "NTP tries to syncronises the clock with the network." ) ); 244 TextLabel3_3_2->setText( tr( "NTP tries to syncronises the clock with the network." ) );
245 TextLabel3_3_2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); 245 TextLabel3_3_2->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
246 246
247 Layout7_2->addMultiCellWidget( TextLabel3_3_2, 1, 1, 0, 2 ); 247 Layout7_2->addMultiCellWidget( TextLabel3_3_2, 1, 1, 0, 2 );
248 248
249 SpinBoxNtpDelay = new QSpinBox( FrameSettings, "SpinBoxNtpDelay" ); 249 SpinBoxNtpDelay = new QSpinBox( FrameSettings, "SpinBoxNtpDelay" );
250 SpinBoxNtpDelay->setWrapping( TRUE ); 250 SpinBoxNtpDelay->setWrapping( TRUE );
251 SpinBoxNtpDelay->setMaxValue( 9999999 ); 251 SpinBoxNtpDelay->setMaxValue( 9999999 );
252 SpinBoxNtpDelay->setMinValue( 1 ); 252 SpinBoxNtpDelay->setMinValue( 1 );
253 SpinBoxNtpDelay->setValue( 1440 ); 253 SpinBoxNtpDelay->setValue( 1440 );
254 254
255 Layout7_2->addWidget( SpinBoxNtpDelay, 0, 1 ); 255 Layout7_2->addWidget( SpinBoxNtpDelay, 0, 1 );
256 FrameSettingsLayout->addLayout( Layout7_2 ); 256 FrameSettingsLayout->addLayout( Layout7_2 );
257 257
258 Layout7 = new QGridLayout; 258 Layout7 = new QGridLayout;
259 Layout7->setSpacing( 6 ); 259 Layout7->setSpacing( 6 );
260 Layout7->setMargin( 0 ); 260 Layout7->setMargin( 0 );
261 261
262 TextLabel1_2 = new QLabel( FrameSettings, "TextLabel1_2" ); 262 TextLabel1_2 = new QLabel( FrameSettings, "TextLabel1_2" );
263 TextLabel1_2->setText( tr( "Insure a delay of" ) ); 263 TextLabel1_2->setText( tr( "Insure a delay of" ) );
264 264
265 Layout7->addWidget( TextLabel1_2, 0, 0 ); 265 Layout7->addWidget( TextLabel1_2, 0, 0 );
266 266
267 TextLabel2 = new QLabel( FrameSettings, "TextLabel2" ); 267 TextLabel2 = new QLabel( FrameSettings, "TextLabel2" );
268 TextLabel2->setText( tr( "minutes until" ) ); 268 TextLabel2->setText( tr( "minutes until" ) );
269 269
270 Layout7->addWidget( TextLabel2, 0, 2 ); 270 Layout7->addWidget( TextLabel2, 0, 2 );
271 271
272 TextLabel3_3 = new QLabel( FrameSettings, "TextLabel3_3" ); 272 TextLabel3_3 = new QLabel( FrameSettings, "TextLabel3_3" );
273 TextLabel3_3->setText( tr( "a new NTP lookup will be used to predict the time." ) ); 273 TextLabel3_3->setText( tr( "a new NTP lookup will be used to predict the time." ) );
274 TextLabel3_3->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); 274 TextLabel3_3->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
275 275
276 Layout7->addMultiCellWidget( TextLabel3_3, 1, 1, 0, 2 ); 276 Layout7->addMultiCellWidget( TextLabel3_3, 1, 1, 0, 2 );
277 277
278 SpinBoxMinLookupDelay = new QSpinBox( FrameSettings, "SpinBoxMinLookupDelay" ); 278 SpinBoxMinLookupDelay = new QSpinBox( FrameSettings, "SpinBoxMinLookupDelay" );
279 SpinBoxMinLookupDelay->setWrapping( TRUE ); 279 SpinBoxMinLookupDelay->setWrapping( TRUE );
280 SpinBoxMinLookupDelay->setMaxValue( 9999999 ); 280 SpinBoxMinLookupDelay->setMaxValue( 9999999 );
281 SpinBoxMinLookupDelay->setMinValue( 42 ); 281 SpinBoxMinLookupDelay->setMinValue( 42 );
282 SpinBoxMinLookupDelay->setValue( 720 ); 282 SpinBoxMinLookupDelay->setValue( 720 );
283 283
284 Layout7->addWidget( SpinBoxMinLookupDelay, 0, 1 ); 284 Layout7->addWidget( SpinBoxMinLookupDelay, 0, 1 );
285 FrameSettingsLayout->addLayout( Layout7 ); 285 FrameSettingsLayout->addLayout( Layout7 );
286 286
287 TabSettingsLayout->addWidget( FrameSettings, 0, 0 ); 287 TabSettingsLayout->addWidget( FrameSettings, 0, 0 );
288 288
289 tabManualSetTime = new QWidget( TabWidgetMain, "tabManualSetTime" ); 289 tabManualSetTime = new QWidget( TabWidgetMain, "tabManualSetTime" );
290 tabManualSetTimeLayout = new QVBoxLayout( tabManualSetTime ); 290 tabManualSetTimeLayout = new QVBoxLayout( tabManualSetTime );
291 tabManualSetTimeLayout->setSpacing( 2 ); 291 tabManualSetTimeLayout->setSpacing( 2 );
292 tabManualSetTimeLayout->setMargin( 2 ); 292 tabManualSetTimeLayout->setMargin( 2 );
293 293
294 FrameSetTime = new QFrame( tabManualSetTime, "FrameSetTime" ); 294 FrameSetTime = new QWidget( tabManualSetTime, "FrameSetTime" );
295 FrameSetTime->setFrameShape( QFrame::StyledPanel ); 295 // FrameSetTime->setFrameShape( QFrame::StyledPanel );
296 FrameSetTime->setFrameShadow( QFrame::Raised ); 296 // FrameSetTime->setFrameShadow( QFrame::Raised );
297 tabManualSetTimeLayout->addWidget( FrameSetTime ); 297 tabManualSetTimeLayout->addWidget( FrameSetTime );
298 298
299 PushButtonSetManualTime = new QPushButton( tabManualSetTime, "PushButtonSetManualTime" ); 299 PushButtonSetManualTime = new QPushButton( tabManualSetTime, "PushButtonSetManualTime" );
300 PushButtonSetManualTime->setText( tr( "Set time" ) ); 300 PushButtonSetManualTime->setText( tr( "Set time" ) );
301 tabManualSetTimeLayout->addWidget( PushButtonSetManualTime ); 301 tabManualSetTimeLayout->addWidget( PushButtonSetManualTime );
302 302
303 303
304 TabWidgetMain->insertTab( tabMain, tr( "Main" ) ); 304 TabWidgetMain->insertTab( tabMain, tr( "Main" ) );
305 TabWidgetMain->insertTab( tabManualSetTime, tr( "Manual" ) ); 305 TabWidgetMain->insertTab( tabManualSetTime, tr( "Manual" ) );
306 TabWidgetMain->insertTab( TabSettings, tr( "Settings" ) ); 306 TabWidgetMain->insertTab( TabSettings, tr( "Settings" ) );
307 TabWidgetMain->insertTab( tabPredict, tr( "Predict" ) ); 307 TabWidgetMain->insertTab( tabPredict, tr( "Predict" ) );
308 TabWidgetMain->insertTab( tabNtp, tr( "NTP" ) ); 308 TabWidgetMain->insertTab( tabNtp, tr( "NTP" ) );
309 309
310 NtpBaseLayout->addWidget( TabWidgetMain, 0, 0 ); 310 NtpBaseLayout->addWidget( TabWidgetMain, 0, 0 );
311} 311}
312 312
313/* 313/*
314 * Destroys the object and frees any allocated resources 314 * Destroys the object and frees any allocated resources
315 */ 315 */
316NtpBase::~NtpBase() 316NtpBase::~NtpBase()
317{ 317{
318 // no need to delete child widgets, Qt does it all for us 318 // no need to delete child widgets, Qt does it all for us
319} 319}
320 320
321/* 321/*
322 * Main event handler. Reimplemented to handle application 322 * Main event handler. Reimplemented to handle application
323 * font changes 323 * font changes
324 */ 324 */
325bool NtpBase::event( QEvent* ev ) 325bool NtpBase::event( QEvent* ev )
326{ 326{
327 bool ret = QWidget::event( ev ); 327 bool ret = QWidget::event( ev );
328 if ( ev->type() == QEvent::ApplicationFontChange ) { 328 if ( ev->type() == QEvent::ApplicationFontChange ) {
329 QFont MultiLineEditntpOutPut_font( MultiLineEditntpOutPut->font() ); 329 QFont MultiLineEditntpOutPut_font( MultiLineEditntpOutPut->font() );
330 MultiLineEditntpOutPut_font.setPointSize( 7 ); 330 MultiLineEditntpOutPut_font.setPointSize( 7 );
331 MultiLineEditntpOutPut->setFont( MultiLineEditntpOutPut_font ); 331 MultiLineEditntpOutPut->setFont( MultiLineEditntpOutPut_font );
332 QFont TableLookups_font( TableLookups->font() ); 332 QFont TableLookups_font( TableLookups->font() );
333 TableLookups_font.setPointSize( 8 ); 333 TableLookups_font.setPointSize( 8 );
334 TableLookups->setFont( TableLookups_font ); 334 TableLookups->setFont( TableLookups_font );
335 } 335 }
336 return ret; 336 return ret;
337} 337}
338 338
diff --git a/noncore/settings/netsystemtime/ntpbase.h b/noncore/settings/netsystemtime/ntpbase.h
index a669601..a443495 100644
--- a/noncore/settings/netsystemtime/ntpbase.h
+++ b/noncore/settings/netsystemtime/ntpbase.h
@@ -1,96 +1,96 @@
1/**************************************************************************** 1/****************************************************************************
2** Form interface generated from reading ui file 'ntpbase.ui' 2** Form interface generated from reading ui file 'ntpbase.ui'
3** 3**
4** Created: Mon Oct 21 21:32:43 2002 4** Created: Mon Oct 21 21:32:43 2002
5** by: The User Interface Compiler (uic) 5** by: The User Interface Compiler (uic)
6** 6**
7** WARNING! All changes made in this file will be lost! 7** WARNING! All changes made in this file will be lost!
8****************************************************************************/ 8****************************************************************************/
9#ifndef NTPBASE_H 9#ifndef NTPBASE_H
10#define NTPBASE_H 10#define NTPBASE_H
11 11
12#include <qvariant.h> 12#include <qvariant.h>
13#include <qwidget.h> 13#include <qwidget.h>
14class QVBoxLayout; 14class QVBoxLayout;
15class QHBoxLayout; 15class QHBoxLayout;
16class QGridLayout; 16class QGridLayout;
17class QCheckBox; 17class QCheckBox;
18class QComboBox; 18class QComboBox;
19class QFrame; 19class QFrame;
20class QLabel; 20class QLabel;
21class QMultiLineEdit; 21class QMultiLineEdit;
22class QPushButton; 22class QPushButton;
23class QSpinBox; 23class QSpinBox;
24class QTabWidget; 24class QTabWidget;
25class QTable; 25class QTable;
26 26
27class NtpBase : public QWidget 27class NtpBase : public QWidget
28{ 28{
29 Q_OBJECT 29 Q_OBJECT
30 30
31public: 31public:
32 NtpBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 32 NtpBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
33 ~NtpBase(); 33 ~NtpBase();
34 34
35 QTabWidget* TabWidgetMain; 35 QTabWidget* TabWidgetMain;
36 QWidget* tabMain; 36 QWidget* tabMain;
37 QFrame* FrameSystemTime; 37 QWidget* FrameSystemTime;
38 QWidget* tabNtp; 38 QWidget* tabNtp;
39 QPushButton* runNtp; 39 QPushButton* runNtp;
40 QFrame* FrameNtp; 40 QWidget* FrameNtp;
41 QLabel* TextLabel1; 41 QLabel* TextLabel1;
42 QLabel* TextLabelStartTime; 42 QLabel* TextLabelStartTime;
43 QLabel* TextLabel3; 43 QLabel* TextLabel3;
44 QLabel* TextLabelTimeShift; 44 QLabel* TextLabelTimeShift;
45 QLabel* TextLabel5; 45 QLabel* TextLabel5;
46 QLabel* TextLabelNewTime; 46 QLabel* TextLabelNewTime;
47 QMultiLineEdit* MultiLineEditntpOutPut; 47 QMultiLineEdit* MultiLineEditntpOutPut;
48 QWidget* tabPredict; 48 QWidget* tabPredict;
49 QTable* TableLookups; 49 QTable* TableLookups;
50 QLabel* TextLabelShift; 50 QLabel* TextLabelShift;
51 QLabel* TextLabel4; 51 QLabel* TextLabel4;
52 QLabel* TextLabelEstimatedShift; 52 QLabel* TextLabelEstimatedShift;
53 QLabel* TextLabel3_2; 53 QLabel* TextLabel3_2;
54 QLabel* Mean_shift_label; 54 QLabel* Mean_shift_label;
55 QLabel* TextLabelPredTime; 55 QLabel* TextLabelPredTime;
56 QPushButton* PushButtonSetPredTime; 56 QPushButton* PushButtonSetPredTime;
57 QPushButton* PushButtonPredict; 57 QPushButton* PushButtonPredict;
58 QWidget* TabSettings; 58 QWidget* TabSettings;
59 QFrame* FrameSettings; 59 QWidget* FrameSettings;
60 QLabel* TextLabel7_2; 60 QLabel* TextLabel7_2;
61 QLabel* TextLabel2_2; 61 QLabel* TextLabel2_2;
62 QLabel* TextLabel1_3; 62 QLabel* TextLabel1_3;
63 QComboBox* ComboNtpSrv; 63 QComboBox* ComboNtpSrv;
64 QCheckBox* CheckBoxAdvSettings; 64 QCheckBox* CheckBoxAdvSettings;
65 QFrame* Line1; 65 QFrame* Line1;
66 QLabel* TextLabel1_2_2; 66 QLabel* TextLabel1_2_2;
67 QLabel* TextLabel2_3; 67 QLabel* TextLabel2_3;
68 QLabel* TextLabel3_3_2; 68 QLabel* TextLabel3_3_2;
69 QSpinBox* SpinBoxNtpDelay; 69 QSpinBox* SpinBoxNtpDelay;
70 QLabel* TextLabel1_2; 70 QLabel* TextLabel1_2;
71 QLabel* TextLabel2; 71 QLabel* TextLabel2;
72 QLabel* TextLabel3_3; 72 QLabel* TextLabel3_3;
73 QSpinBox* SpinBoxMinLookupDelay; 73 QSpinBox* SpinBoxMinLookupDelay;
74 QWidget* tabManualSetTime; 74 QWidget* tabManualSetTime;
75 QFrame* FrameSetTime; 75 QWidget* FrameSetTime;
76 QPushButton* PushButtonSetManualTime; 76 QPushButton* PushButtonSetManualTime;
77 77
78protected: 78protected:
79 QGridLayout* NtpBaseLayout; 79 QGridLayout* NtpBaseLayout;
80 QGridLayout* tabMainLayout; 80 QGridLayout* tabMainLayout;
81 QGridLayout* tabNtpLayout; 81 QGridLayout* tabNtpLayout;
82 QGridLayout* FrameNtpLayout; 82 QGridLayout* FrameNtpLayout;
83 QVBoxLayout* Layout4; 83 QVBoxLayout* Layout4;
84 QGridLayout* tabPredictLayout; 84 QGridLayout* tabPredictLayout;
85 QGridLayout* Layout9; 85 QGridLayout* Layout9;
86 QHBoxLayout* Layout11; 86 QHBoxLayout* Layout11;
87 QGridLayout* TabSettingsLayout; 87 QGridLayout* TabSettingsLayout;
88 QVBoxLayout* FrameSettingsLayout; 88 QVBoxLayout* FrameSettingsLayout;
89 QGridLayout* Layout6; 89 QGridLayout* Layout6;
90 QGridLayout* Layout7_2; 90 QGridLayout* Layout7_2;
91 QGridLayout* Layout7; 91 QGridLayout* Layout7;
92 QVBoxLayout* tabManualSetTimeLayout; 92 QVBoxLayout* tabManualSetTimeLayout;
93 bool event( QEvent* ); 93 bool event( QEvent* );
94}; 94};
95 95
96#endif // NTPBASE_H 96#endif // NTPBASE_H
diff --git a/noncore/settings/netsystemtime/ntpbase.ui b/noncore/settings/netsystemtime/ntpbase.ui
index 62f736b..465bba0 100644
--- a/noncore/settings/netsystemtime/ntpbase.ui
+++ b/noncore/settings/netsystemtime/ntpbase.ui
@@ -20,193 +20,193 @@
20 <string>Network Time</string> 20 <string>Network Time</string>
21 </property> 21 </property>
22 <property> 22 <property>
23 <name>layoutMargin</name> 23 <name>layoutMargin</name>
24 </property> 24 </property>
25 <property> 25 <property>
26 <name>layoutSpacing</name> 26 <name>layoutSpacing</name>
27 </property> 27 </property>
28 <grid> 28 <grid>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>margin</name> 30 <name>margin</name>
31 <number>2</number> 31 <number>2</number>
32 </property> 32 </property>
33 <property stdset="1"> 33 <property stdset="1">
34 <name>spacing</name> 34 <name>spacing</name>
35 <number>2</number> 35 <number>2</number>
36 </property> 36 </property>
37 <widget row="0" column="0" > 37 <widget row="0" column="0" >
38 <class>QTabWidget</class> 38 <class>QTabWidget</class>
39 <property stdset="1"> 39 <property stdset="1">
40 <name>name</name> 40 <name>name</name>
41 <cstring>TabWidgetMain</cstring> 41 <cstring>TabWidgetMain</cstring>
42 </property> 42 </property>
43 <property> 43 <property>
44 <name>layoutMargin</name> 44 <name>layoutMargin</name>
45 </property> 45 </property>
46 <property> 46 <property>
47 <name>layoutSpacing</name> 47 <name>layoutSpacing</name>
48 </property> 48 </property>
49 <widget> 49 <widget>
50 <class>QWidget</class> 50 <class>QWidget</class>
51 <property stdset="1"> 51 <property stdset="1">
52 <name>name</name> 52 <name>name</name>
53 <cstring>tabMain</cstring> 53 <cstring>tabMain</cstring>
54 </property> 54 </property>
55 <attribute> 55 <attribute>
56 <name>title</name> 56 <name>title</name>
57 <string>Main</string> 57 <string>Main</string>
58 </attribute> 58 </attribute>
59 <grid> 59 <grid>
60 <property stdset="1"> 60 <property stdset="1">
61 <name>margin</name> 61 <name>margin</name>
62 <number>2</number> 62 <number>2</number>
63 </property> 63 </property>
64 <property stdset="1"> 64 <property stdset="1">
65 <name>spacing</name> 65 <name>spacing</name>
66 <number>2</number> 66 <number>2</number>
67 </property> 67 </property>
68 <widget row="0" column="0" > 68 <widget row="0" column="0" >
69 <class>QFrame</class> 69 <class>QFrame</class>
70 <property stdset="1"> 70 <property stdset="1">
71 <name>name</name> 71 <name>name</name>
72 <cstring>FrameSystemTime</cstring> 72 <cstring>FrameSystemTime</cstring>
73 </property> 73 </property>
74 <property stdset="1"> 74 <property stdset="1">
75 <name>frameShape</name> 75 <name>frameShape</name>
76 <enum>StyledPanel</enum> 76 <enum>StyledPanel</enum>
77 </property> 77 </property>
78 <property stdset="1"> 78 <property stdset="1">
79 <name>frameShadow</name> 79 <name>frameShadow</name>
80 <enum>Raised</enum> 80 <enum>Raised</enum>
81 </property> 81 </property>
82 </widget> 82 </widget>
83 </grid> 83 </grid>
84 </widget> 84 </widget>
85 <widget> 85 <widget>
86 <class>QWidget</class> 86 <class>QWidget</class>
87 <property stdset="1"> 87 <property stdset="1">
88 <name>name</name> 88 <name>name</name>
89 <cstring>tabNtp</cstring> 89 <cstring>tabNtp</cstring>
90 </property> 90 </property>
91 <attribute> 91 <attribute>
92 <name>title</name> 92 <name>title</name>
93 <string>NTP</string> 93 <string>NTP</string>
94 </attribute> 94 </attribute>
95 <grid> 95 <grid>
96 <property stdset="1"> 96 <property stdset="1">
97 <name>margin</name> 97 <name>margin</name>
98 <number>1</number> 98 <number>1</number>
99 </property> 99 </property>
100 <property stdset="1"> 100 <property stdset="1">
101 <name>spacing</name> 101 <name>spacing</name>
102 <number>2</number> 102 <number>2</number>
103 </property> 103 </property>
104 <widget row="1" column="0" > 104 <widget row="1" column="0" >
105 <class>QPushButton</class> 105 <class>QPushButton</class>
106 <property stdset="1"> 106 <property stdset="1">
107 <name>name</name> 107 <name>name</name>
108 <cstring>runNtp</cstring> 108 <cstring>runNtp</cstring>
109 </property> 109 </property>
110 <property stdset="1"> 110 <property stdset="1">
111 <name>text</name> 111 <name>text</name>
112 <string>Get time from network</string> 112 <string>Get time from network</string>
113 </property> 113 </property>
114 </widget> 114 </widget>
115 <widget row="0" column="0" > 115 <widget row="0" column="0" >
116 <class>QFrame</class> 116 <class>QWidget</class>
117 <property stdset="1"> 117 <property stdset="1">
118 <name>name</name> 118 <name>name</name>
119 <cstring>FrameNtp</cstring> 119 <cstring>FrameNtp</cstring>
120 </property> 120 </property>
121 <property stdset="1"> 121 <property stdset="1">
122 <name>frameShape</name> 122 <name>frameShape</name>
123 <enum>StyledPanel</enum> 123 <enum>StyledPanel</enum>
124 </property> 124 </property>
125 <property stdset="1"> 125 <property stdset="1">
126 <name>frameShadow</name> 126 <name>frameShadow</name>
127 <enum>Raised</enum> 127 <enum>Raised</enum>
128 </property> 128 </property>
129 <property> 129 <property>
130 <name>layoutMargin</name> 130 <name>layoutMargin</name>
131 </property> 131 </property>
132 <property> 132 <property>
133 <name>layoutSpacing</name> 133 <name>layoutSpacing</name>
134 </property> 134 </property>
135 <grid> 135 <grid>
136 <property stdset="1"> 136 <property stdset="1">
137 <name>margin</name> 137 <name>margin</name>
138 <number>2</number> 138 <number>2</number>
139 </property> 139 </property>
140 <property stdset="1"> 140 <property stdset="1">
141 <name>spacing</name> 141 <name>spacing</name>
142 <number>2</number> 142 <number>2</number>
143 </property> 143 </property>
144 <widget row="0" column="0" > 144 <widget row="0" column="0" >
145 <class>QLayoutWidget</class> 145 <class>QLayoutWidget</class>
146 <property stdset="1"> 146 <property stdset="1">
147 <name>name</name> 147 <name>name</name>
148 <cstring>Layout4</cstring> 148 <cstring>Layout4</cstring>
149 </property> 149 </property>
150 <vbox> 150 <vbox>
151 <property stdset="1"> 151 <property stdset="1">
152 <name>margin</name> 152 <name>margin</name>
153 <number>0</number> 153 <number>0</number>
154 </property> 154 </property>
155 <property stdset="1"> 155 <property stdset="1">
156 <name>spacing</name> 156 <name>spacing</name>
157 <number>6</number> 157 <number>6</number>
158 </property> 158 </property>
159 <widget> 159 <widget>
160 <class>QLabel</class> 160 <class>QLabel</class>
161 <property stdset="1"> 161 <property stdset="1">
162 <name>name</name> 162 <name>name</name>
163 <cstring>TextLabel1</cstring> 163 <cstring>TextLabel1</cstring>
164 </property> 164 </property>
165 <property stdset="1"> 165 <property stdset="1">
166 <name>autoMask</name> 166 <name>autoMask</name>
167 <bool>false</bool> 167 <bool>false</bool>
168 </property> 168 </property>
169 <property stdset="1"> 169 <property stdset="1">
170 <name>text</name> 170 <name>text</name>
171 <string>Start Time:</string> 171 <string>Start Time:</string>
172 </property> 172 </property>
173 </widget> 173 </widget>
174 <widget> 174 <widget>
175 <class>QLabel</class> 175 <class>QLabel</class>
176 <property stdset="1"> 176 <property stdset="1">
177 <name>name</name> 177 <name>name</name>
178 <cstring>TextLabelStartTime</cstring> 178 <cstring>TextLabelStartTime</cstring>
179 </property> 179 </property>
180 <property stdset="1"> 180 <property stdset="1">
181 <name>text</name> 181 <name>text</name>
182 <string>nan</string> 182 <string>nan</string>
183 </property> 183 </property>
184 </widget> 184 </widget>
185 <widget> 185 <widget>
186 <class>QLabel</class> 186 <class>QLabel</class>
187 <property stdset="1"> 187 <property stdset="1">
188 <name>name</name> 188 <name>name</name>
189 <cstring>TextLabel3</cstring> 189 <cstring>TextLabel3</cstring>
190 </property> 190 </property>
191 <property stdset="1"> 191 <property stdset="1">
192 <name>text</name> 192 <name>text</name>
193 <string>Time Shift:</string> 193 <string>Time Shift:</string>
194 </property> 194 </property>
195 </widget> 195 </widget>
196 <widget> 196 <widget>
197 <class>QLabel</class> 197 <class>QLabel</class>
198 <property stdset="1"> 198 <property stdset="1">
199 <name>name</name> 199 <name>name</name>
200 <cstring>TextLabelTimeShift</cstring> 200 <cstring>TextLabelTimeShift</cstring>
201 </property> 201 </property>
202 <property stdset="1"> 202 <property stdset="1">
203 <name>text</name> 203 <name>text</name>
204 <string>nan</string> 204 <string>nan</string>
205 </property> 205 </property>
206 </widget> 206 </widget>
207 <widget> 207 <widget>
208 <class>QLabel</class> 208 <class>QLabel</class>
209 <property stdset="1"> 209 <property stdset="1">
210 <name>name</name> 210 <name>name</name>
211 <cstring>TextLabel5</cstring> 211 <cstring>TextLabel5</cstring>
212 </property> 212 </property>
@@ -365,193 +365,193 @@
365 <widget row="2" column="0" > 365 <widget row="2" column="0" >
366 <class>QLabel</class> 366 <class>QLabel</class>
367 <property stdset="1"> 367 <property stdset="1">
368 <name>name</name> 368 <name>name</name>
369 <cstring>TextLabel3_2</cstring> 369 <cstring>TextLabel3_2</cstring>
370 </property> 370 </property>
371 <property stdset="1"> 371 <property stdset="1">
372 <name>text</name> 372 <name>text</name>
373 <string>Predicted Time:</string> 373 <string>Predicted Time:</string>
374 </property> 374 </property>
375 </widget> 375 </widget>
376 <widget row="0" column="0" > 376 <widget row="0" column="0" >
377 <class>QLabel</class> 377 <class>QLabel</class>
378 <property stdset="1"> 378 <property stdset="1">
379 <name>name</name> 379 <name>name</name>
380 <cstring>Mean_shift_label</cstring> 380 <cstring>Mean_shift_label</cstring>
381 </property> 381 </property>
382 <property stdset="1"> 382 <property stdset="1">
383 <name>text</name> 383 <name>text</name>
384 <string>Mean shift:</string> 384 <string>Mean shift:</string>
385 </property> 385 </property>
386 </widget> 386 </widget>
387 <widget row="2" column="1" > 387 <widget row="2" column="1" >
388 <class>QLabel</class> 388 <class>QLabel</class>
389 <property stdset="1"> 389 <property stdset="1">
390 <name>name</name> 390 <name>name</name>
391 <cstring>TextLabelPredTime</cstring> 391 <cstring>TextLabelPredTime</cstring>
392 </property> 392 </property>
393 <property stdset="1"> 393 <property stdset="1">
394 <name>text</name> 394 <name>text</name>
395 <string>nan</string> 395 <string>nan</string>
396 </property> 396 </property>
397 </widget> 397 </widget>
398 </grid> 398 </grid>
399 </widget> 399 </widget>
400 <widget row="2" column="0" > 400 <widget row="2" column="0" >
401 <class>QLayoutWidget</class> 401 <class>QLayoutWidget</class>
402 <property stdset="1"> 402 <property stdset="1">
403 <name>name</name> 403 <name>name</name>
404 <cstring>Layout11</cstring> 404 <cstring>Layout11</cstring>
405 </property> 405 </property>
406 <hbox> 406 <hbox>
407 <property stdset="1"> 407 <property stdset="1">
408 <name>margin</name> 408 <name>margin</name>
409 <number>0</number> 409 <number>0</number>
410 </property> 410 </property>
411 <property stdset="1"> 411 <property stdset="1">
412 <name>spacing</name> 412 <name>spacing</name>
413 <number>6</number> 413 <number>6</number>
414 </property> 414 </property>
415 <widget> 415 <widget>
416 <class>QPushButton</class> 416 <class>QPushButton</class>
417 <property stdset="1"> 417 <property stdset="1">
418 <name>name</name> 418 <name>name</name>
419 <cstring>PushButtonSetPredTime</cstring> 419 <cstring>PushButtonSetPredTime</cstring>
420 </property> 420 </property>
421 <property stdset="1"> 421 <property stdset="1">
422 <name>text</name> 422 <name>text</name>
423 <string>Set predicted time</string> 423 <string>Set predicted time</string>
424 </property> 424 </property>
425 </widget> 425 </widget>
426 <widget> 426 <widget>
427 <class>QPushButton</class> 427 <class>QPushButton</class>
428 <property stdset="1"> 428 <property stdset="1">
429 <name>name</name> 429 <name>name</name>
430 <cstring>PushButtonPredict</cstring> 430 <cstring>PushButtonPredict</cstring>
431 </property> 431 </property>
432 <property stdset="1"> 432 <property stdset="1">
433 <name>text</name> 433 <name>text</name>
434 <string>Predict time</string> 434 <string>Predict time</string>
435 </property> 435 </property>
436 </widget> 436 </widget>
437 </hbox> 437 </hbox>
438 </widget> 438 </widget>
439 </grid> 439 </grid>
440 </widget> 440 </widget>
441 <widget> 441 <widget>
442 <class>QWidget</class> 442 <class>QWidget</class>
443 <property stdset="1"> 443 <property stdset="1">
444 <name>name</name> 444 <name>name</name>
445 <cstring>TabSettings</cstring> 445 <cstring>TabSettings</cstring>
446 </property> 446 </property>
447 <attribute> 447 <attribute>
448 <name>title</name> 448 <name>title</name>
449 <string>Settings</string> 449 <string>Settings</string>
450 </attribute> 450 </attribute>
451 <grid> 451 <grid>
452 <property stdset="1"> 452 <property stdset="1">
453 <name>margin</name> 453 <name>margin</name>
454 <number>2</number> 454 <number>2</number>
455 </property> 455 </property>
456 <property stdset="1"> 456 <property stdset="1">
457 <name>spacing</name> 457 <name>spacing</name>
458 <number>2</number> 458 <number>2</number>
459 </property> 459 </property>
460 <widget row="0" column="0" > 460 <widget row="0" column="0" >
461 <class>QFrame</class> 461 <class>QWidget</class>
462 <property stdset="1"> 462 <property stdset="1">
463 <name>name</name> 463 <name>name</name>
464 <cstring>FrameSettings</cstring> 464 <cstring>FrameSettings</cstring>
465 </property> 465 </property>
466 <property stdset="1"> 466 <property stdset="1">
467 <name>frameShape</name> 467 <name>frameShape</name>
468 <enum>StyledPanel</enum> 468 <enum>StyledPanel</enum>
469 </property> 469 </property>
470 <property stdset="1"> 470 <property stdset="1">
471 <name>frameShadow</name> 471 <name>frameShadow</name>
472 <enum>Raised</enum> 472 <enum>Raised</enum>
473 </property> 473 </property>
474 <property> 474 <property>
475 <name>layoutMargin</name> 475 <name>layoutMargin</name>
476 </property> 476 </property>
477 <property> 477 <property>
478 <name>layoutSpacing</name> 478 <name>layoutSpacing</name>
479 </property> 479 </property>
480 <vbox> 480 <vbox>
481 <property stdset="1"> 481 <property stdset="1">
482 <name>margin</name> 482 <name>margin</name>
483 <number>11</number> 483 <number>11</number>
484 </property> 484 </property>
485 <property stdset="1"> 485 <property stdset="1">
486 <name>spacing</name> 486 <name>spacing</name>
487 <number>6</number> 487 <number>6</number>
488 </property> 488 </property>
489 <widget> 489 <widget>
490 <class>QLayoutWidget</class> 490 <class>QLayoutWidget</class>
491 <property stdset="1"> 491 <property stdset="1">
492 <name>name</name> 492 <name>name</name>
493 <cstring>Layout6</cstring> 493 <cstring>Layout6</cstring>
494 </property> 494 </property>
495 <grid> 495 <grid>
496 <property stdset="1"> 496 <property stdset="1">
497 <name>margin</name> 497 <name>margin</name>
498 <number>0</number> 498 <number>0</number>
499 </property> 499 </property>
500 <property stdset="1"> 500 <property stdset="1">
501 <name>spacing</name> 501 <name>spacing</name>
502 <number>6</number> 502 <number>6</number>
503 </property> 503 </property>
504 <widget row="0" column="0" > 504 <widget row="0" column="0" >
505 <class>QLabel</class> 505 <class>QLabel</class>
506 <property stdset="1"> 506 <property stdset="1">
507 <name>name</name> 507 <name>name</name>
508 <cstring>TextLabel7_2</cstring> 508 <cstring>TextLabel7_2</cstring>
509 </property> 509 </property>
510 <property stdset="1"> 510 <property stdset="1">
511 <name>text</name> 511 <name>text</name>
512 <string>Use</string> 512 <string>Use</string>
513 </property> 513 </property>
514 </widget> 514 </widget>
515 <widget row="0" column="2" > 515 <widget row="0" column="2" >
516 <class>QLabel</class> 516 <class>QLabel</class>
517 <property stdset="1"> 517 <property stdset="1">
518 <name>name</name> 518 <name>name</name>
519 <cstring>TextLabel2_2</cstring> 519 <cstring>TextLabel2_2</cstring>
520 </property> 520 </property>
521 <property stdset="1"> 521 <property stdset="1">
522 <name>text</name> 522 <name>text</name>
523 <string>as</string> 523 <string>as</string>
524 </property> 524 </property>
525 </widget> 525 </widget>
526 <widget row="1" column="0" rowspan="1" colspan="2" > 526 <widget row="1" column="0" rowspan="1" colspan="2" >
527 <class>QLabel</class> 527 <class>QLabel</class>
528 <property stdset="1"> 528 <property stdset="1">
529 <name>name</name> 529 <name>name</name>
530 <cstring>TextLabel1_3</cstring> 530 <cstring>TextLabel1_3</cstring>
531 </property> 531 </property>
532 <property stdset="1"> 532 <property stdset="1">
533 <name>text</name> 533 <name>text</name>
534 <string>NTP server to get the time from the network.</string> 534 <string>NTP server to get the time from the network.</string>
535 </property> 535 </property>
536 <property stdset="1"> 536 <property stdset="1">
537 <name>alignment</name> 537 <name>alignment</name>
538 <set>WordBreak|AlignVCenter|AlignLeft</set> 538 <set>WordBreak|AlignVCenter|AlignLeft</set>
539 </property> 539 </property>
540 <property> 540 <property>
541 <name>wordwrap</name> 541 <name>wordwrap</name>
542 </property> 542 </property>
543 </widget> 543 </widget>
544 <widget row="0" column="1" > 544 <widget row="0" column="1" >
545 <class>QComboBox</class> 545 <class>QComboBox</class>
546 <property stdset="1"> 546 <property stdset="1">
547 <name>name</name> 547 <name>name</name>
548 <cstring>ComboNtpSrv</cstring> 548 <cstring>ComboNtpSrv</cstring>
549 </property> 549 </property>
550 <property stdset="1"> 550 <property stdset="1">
551 <name>editable</name> 551 <name>editable</name>
552 <bool>true</bool> 552 <bool>true</bool>
553 </property> 553 </property>
554 </widget> 554 </widget>
555 </grid> 555 </grid>
556 </widget> 556 </widget>
557 <spacer> 557 <spacer>
@@ -716,127 +716,127 @@
716 <name>margin</name> 716 <name>margin</name>
717 <number>0</number> 717 <number>0</number>
718 </property> 718 </property>
719 <property stdset="1"> 719 <property stdset="1">
720 <name>spacing</name> 720 <name>spacing</name>
721 <number>6</number> 721 <number>6</number>
722 </property> 722 </property>
723 <widget row="0" column="0" > 723 <widget row="0" column="0" >
724 <class>QLabel</class> 724 <class>QLabel</class>
725 <property stdset="1"> 725 <property stdset="1">
726 <name>name</name> 726 <name>name</name>
727 <cstring>TextLabel1_2</cstring> 727 <cstring>TextLabel1_2</cstring>
728 </property> 728 </property>
729 <property stdset="1"> 729 <property stdset="1">
730 <name>text</name> 730 <name>text</name>
731 <string>Insure a delay of</string> 731 <string>Insure a delay of</string>
732 </property> 732 </property>
733 </widget> 733 </widget>
734 <widget row="0" column="2" > 734 <widget row="0" column="2" >
735 <class>QLabel</class> 735 <class>QLabel</class>
736 <property stdset="1"> 736 <property stdset="1">
737 <name>name</name> 737 <name>name</name>
738 <cstring>TextLabel2</cstring> 738 <cstring>TextLabel2</cstring>
739 </property> 739 </property>
740 <property stdset="1"> 740 <property stdset="1">
741 <name>text</name> 741 <name>text</name>
742 <string>minutes until</string> 742 <string>minutes until</string>
743 </property> 743 </property>
744 </widget> 744 </widget>
745 <widget row="1" column="0" rowspan="1" colspan="3" > 745 <widget row="1" column="0" rowspan="1" colspan="3" >
746 <class>QLabel</class> 746 <class>QLabel</class>
747 <property stdset="1"> 747 <property stdset="1">
748 <name>name</name> 748 <name>name</name>
749 <cstring>TextLabel3_3</cstring> 749 <cstring>TextLabel3_3</cstring>
750 </property> 750 </property>
751 <property stdset="1"> 751 <property stdset="1">
752 <name>text</name> 752 <name>text</name>
753 <string>a new NTP lookup will be used to predict the time.</string> 753 <string>a new NTP lookup will be used to predict the time.</string>
754 </property> 754 </property>
755 <property stdset="1"> 755 <property stdset="1">
756 <name>alignment</name> 756 <name>alignment</name>
757 <set>WordBreak|AlignVCenter|AlignLeft</set> 757 <set>WordBreak|AlignVCenter|AlignLeft</set>
758 </property> 758 </property>
759 <property> 759 <property>
760 <name>wordwrap</name> 760 <name>wordwrap</name>
761 </property> 761 </property>
762 </widget> 762 </widget>
763 <widget row="0" column="1" > 763 <widget row="0" column="1" >
764 <class>QSpinBox</class> 764 <class>QSpinBox</class>
765 <property stdset="1"> 765 <property stdset="1">
766 <name>name</name> 766 <name>name</name>
767 <cstring>SpinBoxMinLookupDelay</cstring> 767 <cstring>SpinBoxMinLookupDelay</cstring>
768 </property> 768 </property>
769 <property stdset="1"> 769 <property stdset="1">
770 <name>wrapping</name> 770 <name>wrapping</name>
771 <bool>true</bool> 771 <bool>true</bool>
772 </property> 772 </property>
773 <property stdset="1"> 773 <property stdset="1">
774 <name>maxValue</name> 774 <name>maxValue</name>
775 <number>9999999</number> 775 <number>9999999</number>
776 </property> 776 </property>
777 <property stdset="1"> 777 <property stdset="1">
778 <name>minValue</name> 778 <name>minValue</name>
779 <number>42</number> 779 <number>42</number>
780 </property> 780 </property>
781 <property stdset="1"> 781 <property stdset="1">
782 <name>value</name> 782 <name>value</name>
783 <number>720</number> 783 <number>720</number>
784 </property> 784 </property>
785 </widget> 785 </widget>
786 </grid> 786 </grid>
787 </widget> 787 </widget>
788 </vbox> 788 </vbox>
789 </widget> 789 </widget>
790 </grid> 790 </grid>
791 </widget> 791 </widget>
792 <widget> 792 <widget>
793 <class>QWidget</class> 793 <class>QWidget</class>
794 <property stdset="1"> 794 <property stdset="1">
795 <name>name</name> 795 <name>name</name>
796 <cstring>tabManualSetTime</cstring> 796 <cstring>tabManualSetTime</cstring>
797 </property> 797 </property>
798 <attribute> 798 <attribute>
799 <name>title</name> 799 <name>title</name>
800 <string>Manual</string> 800 <string>Manual</string>
801 </attribute> 801 </attribute>
802 <vbox> 802 <vbox>
803 <property stdset="1"> 803 <property stdset="1">
804 <name>margin</name> 804 <name>margin</name>
805 <number>2</number> 805 <number>2</number>
806 </property> 806 </property>
807 <property stdset="1"> 807 <property stdset="1">
808 <name>spacing</name> 808 <name>spacing</name>
809 <number>2</number> 809 <number>2</number>
810 </property> 810 </property>
811 <widget> 811 <widget>
812 <class>QFrame</class> 812 <class>QWidget</class>
813 <property stdset="1"> 813 <property stdset="1">
814 <name>name</name> 814 <name>name</name>
815 <cstring>FrameSetTime</cstring> 815 <cstring>FrameSetTime</cstring>
816 </property> 816 </property>
817 <property stdset="1"> 817 <property stdset="1">
818 <name>frameShape</name> 818 <name>frameShape</name>
819 <enum>StyledPanel</enum> 819 <enum>StyledPanel</enum>
820 </property> 820 </property>
821 <property stdset="1"> 821 <property stdset="1">
822 <name>frameShadow</name> 822 <name>frameShadow</name>
823 <enum>Raised</enum> 823 <enum>Raised</enum>
824 </property> 824 </property>
825 </widget> 825 </widget>
826 <widget> 826 <widget>
827 <class>QPushButton</class> 827 <class>QPushButton</class>
828 <property stdset="1"> 828 <property stdset="1">
829 <name>name</name> 829 <name>name</name>
830 <cstring>PushButtonSetManualTime</cstring> 830 <cstring>PushButtonSetManualTime</cstring>
831 </property> 831 </property>
832 <property stdset="1"> 832 <property stdset="1">
833 <name>text</name> 833 <name>text</name>
834 <string>Set time</string> 834 <string>Set time</string>
835 </property> 835 </property>
836 </widget> 836 </widget>
837 </vbox> 837 </vbox>
838 </widget> 838 </widget>
839 </widget> 839 </widget>
840 </grid> 840 </grid>
841</widget> 841</widget>
842</UI> 842</UI>