1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>CSettingsDialog</class>
4
<widget class="QDialog" name="CSettingsDialog">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>NitroShare Settings</string>
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<widget class="QTabWidget" name="Tabs">
19
<property name="currentIndex">
22
<widget class="QWidget" name="GeneralTab">
23
<attribute name="title">
24
<string>General</string>
26
<layout class="QVBoxLayout" name="verticalLayout_2">
28
<widget class="QCheckBox" name="LoadAtStartup">
29
<property name="text">
30
<string>Load at startup</string>
35
<spacer name="Spacer1">
36
<property name="orientation">
37
<enum>Qt::Vertical</enum>
39
<property name="sizeHint" stdset="0">
49
<widget class="QWidget" name="NotificationsTab">
50
<attribute name="title">
51
<string>Notifications</string>
53
<layout class="QVBoxLayout" name="verticalLayout_3">
55
<widget class="QLabel" name="NotificationsLabel">
56
<property name="text">
57
<string>Display notifications for the following events:</string>
62
<widget class="QCheckBox" name="NotifyNewPC">
63
<property name="text">
64
<string>A new PC running NitroShare joins the network</string>
69
<widget class="QCheckBox" name="NotifyFilesReceived">
70
<property name="text">
71
<string>Files are received</string>
76
<widget class="QCheckBox" name="NotifyError">
77
<property name="text">
78
<string>An error occurs </string>
83
<spacer name="Spacer2">
84
<property name="orientation">
85
<enum>Qt::Vertical</enum>
87
<property name="sizeHint" stdset="0">
97
<widget class="QWidget" name="SecurityTab">
98
<attribute name="title">
99
<string>Security</string>
101
<layout class="QVBoxLayout" name="verticalLayout_4">
103
<widget class="QRadioButton" name="AcceptAll">
104
<property name="text">
105
<string>Automatically accept all files</string>
110
<widget class="QRadioButton" name="AcceptPattern">
111
<property name="text">
112
<string>Accept files that match the regular expression below:</string>
117
<layout class="QVBoxLayout" name="RegExLayout">
118
<property name="leftMargin">
121
<property name="rightMargin">
125
<widget class="QLineEdit" name="AcceptRegEx"/>
130
<widget class="QRadioButton" name="AcceptPrompt">
131
<property name="text">
132
<string>Always prompt before accepting files</string>
137
<widget class="QRadioButton" name="AcceptNone">
138
<property name="text">
139
<string>Do not accept any files</string>
144
<spacer name="Spacer3">
145
<property name="orientation">
146
<enum>Qt::Vertical</enum>
148
<property name="sizeHint" stdset="0">
158
<widget class="QWidget" name="NetworkTab">
159
<attribute name="title">
160
<string>Network</string>
162
<layout class="QVBoxLayout" name="verticalLayout_6">
164
<layout class="QHBoxLayout" name="InterfaceLayout">
166
<widget class="QLabel" name="InterfaceLabel">
167
<property name="text">
168
<string>Network interface:</string>
173
<widget class="QComboBox" name="InterfaceList">
174
<property name="sizePolicy">
175
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
176
<horstretch>0</horstretch>
177
<verstretch>0</verstretch>
185
<widget class="Line" name="Line1">
186
<property name="orientation">
187
<enum>Qt::Horizontal</enum>
192
<widget class="QLabel" name="Warning">
193
<property name="text">
194
<string><b>Warning:</b> changing the settings below may cause NitroShare to stop functioning. Proceed with caution.</string>
196
<property name="wordWrap">
202
<widget class="Line" name="Line2">
203
<property name="orientation">
204
<enum>Qt::Horizontal</enum>
209
<widget class="QLabel" name="MulticastLabel">
210
<property name="text">
211
<string>Multicast IP address and port:</string>
216
<layout class="QHBoxLayout" name="MulticastLayout">
218
<widget class="QLineEdit" name="MulticastIP">
219
<property name="inputMask">
222
<property name="text">
225
<property name="maxLength">
228
<property name="alignment">
229
<set>Qt::AlignCenter</set>
234
<widget class="QLineEdit" name="MulticastPort">
235
<property name="sizePolicy">
236
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
237
<horstretch>0</horstretch>
238
<verstretch>0</verstretch>
241
<property name="inputMask">
242
<string>00000; </string>
244
<property name="maxLength">
247
<property name="alignment">
248
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
255
<layout class="QHBoxLayout" name="BroadcastLayout">
257
<widget class="QLabel" name="BroadcastLabel">
258
<property name="sizePolicy">
259
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
260
<horstretch>0</horstretch>
261
<verstretch>0</verstretch>
264
<property name="text">
265
<string>Broadcast interval (in seconds):</string>
270
<widget class="QLineEdit" name="BroadcastInterval">
271
<property name="sizePolicy">
272
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
273
<horstretch>0</horstretch>
274
<verstretch>0</verstretch>
277
<property name="maxLength">
280
<property name="alignment">
281
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
288
<widget class="QLabel" name="TransmissionLabel">
289
<property name="text">
290
<string>File transmission port range:</string>
295
<layout class="QHBoxLayout" name="TransmissionLayout">
297
<widget class="QLineEdit" name="TransmissionStartPort">
298
<property name="sizePolicy">
299
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
300
<horstretch>0</horstretch>
301
<verstretch>0</verstretch>
304
<property name="inputMask">
305
<string>00000; </string>
307
<property name="alignment">
308
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
313
<widget class="QLabel" name="Dash">
314
<property name="text">
320
<widget class="QLineEdit" name="TransmissionEndPort">
321
<property name="sizePolicy">
322
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
323
<horstretch>0</horstretch>
324
<verstretch>0</verstretch>
327
<property name="inputMask">
328
<string>00000; </string>
330
<property name="alignment">
331
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
336
<spacer name="Spacer4">
337
<property name="orientation">
338
<enum>Qt::Horizontal</enum>
340
<property name="sizeHint" stdset="0">
351
<spacer name="Spacer5">
352
<property name="orientation">
353
<enum>Qt::Vertical</enum>
355
<property name="sizeHint" stdset="0">
368
<widget class="QDialogButtonBox" name="ButtonBox">
369
<property name="orientation">
370
<enum>Qt::Horizontal</enum>
372
<property name="standardButtons">
373
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
382
<sender>ButtonBox</sender>
383
<signal>accepted()</signal>
384
<receiver>CSettingsDialog</receiver>
385
<slot>accept()</slot>
387
<hint type="sourcelabel">
391
<hint type="destinationlabel">
398
<sender>ButtonBox</sender>
399
<signal>rejected()</signal>
400
<receiver>CSettingsDialog</receiver>
401
<slot>reject()</slot>
403
<hint type="sourcelabel">
407
<hint type="destinationlabel">