-rw-r--r-- | noncore/settings/netsystemtime/netsystemtime.pro | 2 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.cpp | 24 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.h | 8 | ||||
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.ui | 6 |
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 |
8 | LIBS += -lqpe -lopie | 8 | LIBS += -lqpe -lopie |
9 | INTERFACES= | 9 | INTERFACES= |
10 | DESTDIR = $(OPIEDIR)/bin | 10 | DESTDIR = $(OPIEDIR)/bin |
11 | TARGET = netsystemtime | 11 | TARGET = systemtime |
12 | 12 | ||
13 | TRANSLATIONS = ../../../i18n/de/netsystemtime.ts \ | 13 | TRANSLATIONS = ../../../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,113 +1,113 @@ | |||
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 | */ |
29 | NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | 29 | NtpBase::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 | ||
@@ -135,99 +135,99 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | |||
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() ) ); |
@@ -246,93 +246,93 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) | |||
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 | */ |
316 | NtpBase::~NtpBase() | 316 | NtpBase::~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 | */ |
325 | bool NtpBase::event( QEvent* ev ) | 325 | bool 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> |
14 | class QVBoxLayout; | 14 | class QVBoxLayout; |
15 | class QHBoxLayout; | 15 | class QHBoxLayout; |
16 | class QGridLayout; | 16 | class QGridLayout; |
17 | class QCheckBox; | 17 | class QCheckBox; |
18 | class QComboBox; | 18 | class QComboBox; |
19 | class QFrame; | 19 | class QFrame; |
20 | class QLabel; | 20 | class QLabel; |
21 | class QMultiLineEdit; | 21 | class QMultiLineEdit; |
22 | class QPushButton; | 22 | class QPushButton; |
23 | class QSpinBox; | 23 | class QSpinBox; |
24 | class QTabWidget; | 24 | class QTabWidget; |
25 | class QTable; | 25 | class QTable; |
26 | 26 | ||
27 | class NtpBase : public QWidget | 27 | class NtpBase : public QWidget |
28 | { | 28 | { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | 30 | ||
31 | public: | 31 | public: |
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 | ||
78 | protected: | 78 | protected: |
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 | |||
@@ -68,97 +68,97 @@ | |||
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> |
@@ -413,97 +413,97 @@ | |||
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> |
@@ -764,79 +764,79 @@ | |||
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> |