1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CFirstStartWizard</class>
<widget class="QWizard" name="CFirstStartWizard">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>500</width>
<height>350</height>
</rect>
</property>
<property name="windowTitle">
<string>NitroShare Wizard</string>
</property>
<property name="wizardStyle">
<enum>QWizard::ModernStyle</enum>
</property>
<property name="options">
<set>QWizard::NoCancelButton</set>
</property>
<widget class="QWizardPage" name="WelcomePage">
<property name="title">
<string>NitroShare Setup</string>
</property>
<property name="subTitle">
<string>Gathering information for initial configuration.</string>
</property>
<attribute name="pageId">
<string notr="true">CFirstStartWizard::WelcomePage</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="WelcomeLabel">
<property name="text">
<string>Welcome to NitroShare! To help make it easier to set everything up, NitroShare can guide you through the configuration process.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="ConfigureLayout">
<item>
<widget class="QRadioButton" name="AutoConfigure">
<property name="text">
<string>Help me set up NitroShare</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="ManualConfigure">
<property name="text">
<string>I will configure NitroShare myself</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWizardPage" name="MachineNamePage">
<property name="title">
<string>NitroShare Setup</string>
</property>
<property name="subTitle">
<string>Collecting basic information about the client.</string>
</property>
<attribute name="pageId">
<string notr="true">CFirstStartWizard::MachineNamePage</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="MachineNameLabel">
<property name="text">
<string>Please enter a name for your machine. This name will be displayed to other machines on the network.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="MachineName"/>
</item>
</layout>
</widget>
<widget class="QWizardPage" name="BroadcastDiscoveryPage">
<property name="title">
<string>NitroShare Setup</string>
</property>
<property name="subTitle">
<string>Discovering other machines on the local network.</string>
</property>
<attribute name="pageId">
<string notr="true">CFirstStartWizard::BroadcastDiscoveryPage</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="DiscoveryLabel">
<property name="text">
<string>NitroShare needs to determine which network interface to use. Please run NitroShare (or visit this wizard page) with any other machine on your network. This process may take up to 20 seconds to complete.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="CBroadcastDiscoveryWidget" name="BroadcastDiscovery" native="true"/>
</item>
</layout>
</widget>
<widget class="QWizardPage" name="NotificationsPage">
<property name="title">
<string>NitroShare Setup</string>
</property>
<property name="subTitle">
<string>Deciding what notifications to receive.</string>
</property>
<attribute name="pageId">
<string notr="true">CFirstStartWizard::NotificationsPage</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="NotificationsLabel">
<property name="text">
<string>NitroShare can provide notifications for different events that take place while the program is running. For example, you can choose to receive notifications when a new machine joins the network or when you receive files. Please use the slider to adjust how many notifications you receive.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="NotificationsSlider">
<property name="maximum">
<number>2</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="value">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="NotificationsDescription">
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWizardPage" name="FinishPage">
<property name="title">
<string>NitroShare Setup</string>
</property>
<property name="subTitle">
<string>Completing the configuration phase.</string>
</property>
<attribute name="pageId">
<string notr="true">CFirstStartWizard::FinishPage</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="ThankYouLabel">
<property name="text">
<string>Thank you! NitroShare has finished collecting all of the information that it needs to complete the configuration process.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="StartLabel">
<property name="text">
<string>The application will start after you click "Finish".</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>CBroadcastDiscoveryWidget</class>
<extends>QWidget</extends>
<header location="global">include/widgets/CBroadcastDiscoveryWidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>CFirstStartWizard</sender>
<signal>accepted()</signal>
<receiver>CFirstStartWizard</receiver>
<slot>OnFinished()</slot>
<hints>
<hint type="sourcelabel">
<x>199</x>
<y>149</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>CFirstStartWizard</sender>
<signal>currentIdChanged(int)</signal>
<receiver>CFirstStartWizard</receiver>
<slot>OnPageChanged(int)</slot>
<hints>
<hint type="sourcelabel">
<x>249</x>
<y>174</y>
</hint>
<hint type="destinationlabel">
<x>249</x>
<y>174</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>OnFinished()</slot>
<slot>OnPageChanged(int)</slot>
</slots>
</ui>
|