HACK: 1. try to match RowsetProperties
[wireshark-wip.git] / ui / qt / import_text_dialog.ui
blob6ab8661754615c5b03f298fa71b2045c5ac630d8
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>ImportTextDialog</class>
4 <widget class="QDialog" name="ImportTextDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>472</width>
10 <height>486</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="maximumSize">
20 <size>
21 <width>16777215</width>
22 <height>486</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Wireshark: Import from Hex Dump</string>
27 </property>
28 <property name="sizeGripEnabled">
29 <bool>true</bool>
30 </property>
31 <property name="modal">
32 <bool>true</bool>
33 </property>
34 <layout class="QFormLayout" name="formLayout_3">
35 <property name="fieldGrowthPolicy">
36 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
37 </property>
38 <item row="0" column="0" colspan="2">
39 <widget class="QGroupBox" name="groupBox">
40 <property name="title">
41 <string>Import From</string>
42 </property>
43 <layout class="QFormLayout" name="formLayout_2">
44 <item row="1" column="0" colspan="2">
45 <layout class="QHBoxLayout" name="horizontalLayout_2">
46 <item>
47 <widget class="QLabel" name="label">
48 <property name="text">
49 <string>File:</string>
50 </property>
51 </widget>
52 </item>
53 <item>
54 <widget class="QLineEdit" name="textFileLineEdit">
55 <property name="sizePolicy">
56 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
57 <horstretch>0</horstretch>
58 <verstretch>0</verstretch>
59 </sizepolicy>
60 </property>
61 <property name="toolTip">
62 <string>Set name of text file to import</string>
63 </property>
64 </widget>
65 </item>
66 <item>
67 <widget class="QPushButton" name="textFileBrowseButton">
68 <property name="toolTip">
69 <string>Browse for text file to import</string>
70 </property>
71 <property name="text">
72 <string>Browse...</string>
73 </property>
74 </widget>
75 </item>
76 </layout>
77 </item>
78 <item row="2" column="0" colspan="2">
79 <layout class="QGridLayout" name="gridLayout_2">
80 <item row="2" column="1">
81 <widget class="QRadioButton" name="octalOffsetButton">
82 <property name="toolTip">
83 <string>Offsets in the text file are in octal notation</string>
84 </property>
85 <property name="text">
86 <string>Octal</string>
87 </property>
88 </widget>
89 </item>
90 <item row="0" column="0">
91 <widget class="QLabel" name="label_2">
92 <property name="text">
93 <string>Offsets:</string>
94 </property>
95 </widget>
96 </item>
97 <item row="0" column="1">
98 <widget class="QRadioButton" name="hexOffsetButton">
99 <property name="toolTip">
100 <string>Offsets in the text file are in hexadecimal notation</string>
101 </property>
102 <property name="text">
103 <string>Hexadecimal</string>
104 </property>
105 <property name="checked">
106 <bool>true</bool>
107 </property>
108 </widget>
109 </item>
110 <item row="1" column="1">
111 <widget class="QRadioButton" name="decimalOffsetButton">
112 <property name="toolTip">
113 <string>Offsets in the text file are in decimal notation</string>
114 </property>
115 <property name="text">
116 <string>Decimal</string>
117 </property>
118 </widget>
119 </item>
120 <item row="0" column="2" rowspan="3">
121 <spacer name="horizontalSpacer_2">
122 <property name="orientation">
123 <enum>Qt::Horizontal</enum>
124 </property>
125 <property name="sizeHint" stdset="0">
126 <size>
127 <width>40</width>
128 <height>20</height>
129 </size>
130 </property>
131 </spacer>
132 </item>
133 </layout>
134 </item>
135 <item row="4" column="0" colspan="2">
136 <layout class="QHBoxLayout" name="horizontalLayout_3">
137 <item>
138 <widget class="QLabel" name="label_3">
139 <property name="toolTip">
140 <string>The format in which to parse timestamps in the text file (eg. %H:%M:%S.). Format specifiers are based on strptime(3)</string>
141 </property>
142 <property name="text">
143 <string>Timestamp format:</string>
144 </property>
145 </widget>
146 </item>
147 <item>
148 <widget class="QLineEdit" name="dateTimeLineEdit">
149 <property name="toolTip">
150 <string>The format in which to parse timestamps in the text file (eg. %H:%M:%S.). Format specifiers are based on strptime(3)</string>
151 </property>
152 </widget>
153 </item>
154 <item>
155 <widget class="QLabel" name="timestampExampleLabel">
156 <property name="text">
157 <string/>
158 </property>
159 </widget>
160 </item>
161 <item>
162 <spacer name="horizontalSpacer">
163 <property name="orientation">
164 <enum>Qt::Horizontal</enum>
165 </property>
166 <property name="sizeHint" stdset="0">
167 <size>
168 <width>40</width>
169 <height>20</height>
170 </size>
171 </property>
172 </spacer>
173 </item>
174 </layout>
175 </item>
176 <item row="5" column="0">
177 <widget class="QLabel" name="directionIndicationLabel">
178 <property name="toolTip">
179 <string>Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.</string>
180 </property>
181 <property name="text">
182 <string>Direction indication:</string>
183 </property>
184 </widget>
185 </item>
186 <item row="5" column="1">
187 <widget class="QCheckBox" name="directionIndicationCheckBox">
188 <property name="toolTip">
189 <string>Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.</string>
190 </property>
191 </widget>
192 </item>
193 </layout>
194 </widget>
195 </item>
196 <item row="2" column="1">
197 <layout class="QHBoxLayout" name="horizontalLayout_4">
198 <item>
199 <widget class="QLabel" name="label_11">
200 <property name="text">
201 <string>Maximum frame length:</string>
202 </property>
203 </widget>
204 </item>
205 <item>
206 <widget class="SyntaxLineEdit" name="maxLengthLineEdit">
207 <property name="toolTip">
208 <string>The maximum size of the frames to write to the import capture file (max 64000)</string>
209 </property>
210 </widget>
211 </item>
212 </layout>
213 </item>
214 <item row="3" column="0" colspan="2">
215 <widget class="QDialogButtonBox" name="buttonBox">
216 <property name="orientation">
217 <enum>Qt::Horizontal</enum>
218 </property>
219 <property name="standardButtons">
220 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
221 </property>
222 </widget>
223 </item>
224 <item row="1" column="0" colspan="2">
225 <widget class="QGroupBox" name="groupBox_2">
226 <property name="title">
227 <string>Encapsulation</string>
228 </property>
229 <layout class="QFormLayout" name="formLayout">
230 <property name="fieldGrowthPolicy">
231 <enum>QFormLayout::FieldsStayAtSizeHint</enum>
232 </property>
233 <item row="0" column="0" colspan="2">
234 <layout class="QHBoxLayout" name="horizontalLayout">
235 <item>
236 <widget class="QLabel" name="label_4">
237 <property name="text">
238 <string>Encapsulation Type:</string>
239 </property>
240 </widget>
241 </item>
242 <item>
243 <widget class="QComboBox" name="encapComboBox">
244 <property name="toolTip">
245 <string>Encapsulation type of the frames in the import capture file</string>
246 </property>
247 </widget>
248 </item>
249 <item>
250 <spacer name="horizontalSpacer_3">
251 <property name="orientation">
252 <enum>Qt::Horizontal</enum>
253 </property>
254 <property name="sizeHint" stdset="0">
255 <size>
256 <width>40</width>
257 <height>20</height>
258 </size>
259 </property>
260 </spacer>
261 </item>
262 </layout>
263 </item>
264 <item row="1" column="0" colspan="2">
265 <layout class="QGridLayout" name="headerGridLayout">
266 <item row="3" column="2">
267 <widget class="SyntaxLineEdit" name="sourcePortLineEdit">
268 <property name="toolTip">
269 <string>The UDP, TCP or SCTP source port for each frame</string>
270 </property>
271 </widget>
272 </item>
273 <item row="6" column="2">
274 <widget class="SyntaxLineEdit" name="ppiLineEdit">
275 <property name="toolTip">
276 <string>The SCTP DATA payload protocol identifier for each frame</string>
277 </property>
278 </widget>
279 </item>
280 <item row="4" column="2">
281 <widget class="SyntaxLineEdit" name="destinationPortLineEdit">
282 <property name="toolTip">
283 <string>The UDP, TCP or SCTP destination port for each frame</string>
284 </property>
285 </widget>
286 </item>
287 <item row="1" column="0">
288 <widget class="QRadioButton" name="ethernetButton">
289 <property name="toolTip">
290 <string>Prefix each frame with an Ethernet header</string>
291 </property>
292 <property name="text">
293 <string>Ethernet</string>
294 </property>
295 </widget>
296 </item>
297 <item row="5" column="0">
298 <widget class="QRadioButton" name="sctpButton">
299 <property name="toolTip">
300 <string>Prefix each frame with an Ethernet, IPv4 and SCTP header</string>
301 </property>
302 <property name="text">
303 <string>SCTP</string>
304 </property>
305 </widget>
306 </item>
307 <item row="6" column="1">
308 <widget class="QLabel" name="ppiLabel">
309 <property name="text">
310 <string>PPI:</string>
311 </property>
312 </widget>
313 </item>
314 <item row="2" column="1">
315 <widget class="QLabel" name="protocolLabel">
316 <property name="text">
317 <string>Protocol (dec):</string>
318 </property>
319 </widget>
320 </item>
321 <item row="0" column="0" colspan="3">
322 <widget class="QRadioButton" name="noDummyButton">
323 <property name="toolTip">
324 <string>Leave frames unchanged</string>
325 </property>
326 <property name="text">
327 <string>No dummy header</string>
328 </property>
329 <property name="checked">
330 <bool>true</bool>
331 </property>
332 </widget>
333 </item>
334 <item row="0" column="3" rowspan="7">
335 <spacer name="horizontalSpacer_4">
336 <property name="orientation">
337 <enum>Qt::Horizontal</enum>
338 </property>
339 <property name="sizeHint" stdset="0">
340 <size>
341 <width>40</width>
342 <height>20</height>
343 </size>
344 </property>
345 </spacer>
346 </item>
347 <item row="5" column="1">
348 <widget class="QLabel" name="tagLabel">
349 <property name="text">
350 <string>Tag:</string>
351 </property>
352 </widget>
353 </item>
354 <item row="3" column="0">
355 <widget class="QRadioButton" name="udpButton">
356 <property name="toolTip">
357 <string>Prefix each frame with an Ethernet, IPv4 and UDP header</string>
358 </property>
359 <property name="text">
360 <string>UDP</string>
361 </property>
362 </widget>
363 </item>
364 <item row="3" column="1">
365 <widget class="QLabel" name="sourcePortLabel">
366 <property name="text">
367 <string>Source port:</string>
368 </property>
369 </widget>
370 </item>
371 <item row="1" column="2">
372 <widget class="SyntaxLineEdit" name="ethertypeLineEdit">
373 <property name="toolTip">
374 <string>The Ethertype value of each frame</string>
375 </property>
376 <property name="cursorPosition">
377 <number>0</number>
378 </property>
379 </widget>
380 </item>
381 <item row="4" column="0">
382 <widget class="QRadioButton" name="tcpButton">
383 <property name="toolTip">
384 <string>Prefix each frame with an Ethernet, IPv4 and TCP header</string>
385 </property>
386 <property name="text">
387 <string>TCP</string>
388 </property>
389 </widget>
390 </item>
391 <item row="5" column="2">
392 <widget class="SyntaxLineEdit" name="tagLineEdit">
393 <property name="toolTip">
394 <string>The SCTP verification tag for each frame</string>
395 </property>
396 </widget>
397 </item>
398 <item row="4" column="1">
399 <widget class="QLabel" name="destinationPortLabel">
400 <property name="text">
401 <string>Destination port:</string>
402 </property>
403 </widget>
404 </item>
405 <item row="1" column="1">
406 <widget class="QLabel" name="ethertypeLabel">
407 <property name="text">
408 <string>Ethertype (hex):</string>
409 </property>
410 </widget>
411 </item>
412 <item row="2" column="2">
413 <widget class="SyntaxLineEdit" name="protocolLineEdit">
414 <property name="toolTip">
415 <string>The IPv4 protocol ID for each frame</string>
416 </property>
417 </widget>
418 </item>
419 <item row="6" column="0">
420 <widget class="QRadioButton" name="sctpDataButton">
421 <property name="toolTip">
422 <string>Prefix each frame with an Ethernet, IPv4 and SCTP (DATA) header</string>
423 </property>
424 <property name="text">
425 <string>SCTP (Data)</string>
426 </property>
427 </widget>
428 </item>
429 <item row="2" column="0">
430 <widget class="QRadioButton" name="ipv4Button">
431 <property name="toolTip">
432 <string>Prefix each frame with an Ethernet and IPv4 header</string>
433 </property>
434 <property name="text">
435 <string>IPv4</string>
436 </property>
437 </widget>
438 </item>
439 </layout>
440 </item>
441 </layout>
442 </widget>
443 </item>
444 </layout>
445 </widget>
446 <customwidgets>
447 <customwidget>
448 <class>SyntaxLineEdit</class>
449 <extends>QLineEdit</extends>
450 <header>syntax_line_edit.h</header>
451 </customwidget>
452 </customwidgets>
453 <resources/>
454 <connections>
455 <connection>
456 <sender>buttonBox</sender>
457 <signal>accepted()</signal>
458 <receiver>ImportTextDialog</receiver>
459 <slot>accept()</slot>
460 <hints>
461 <hint type="sourcelabel">
462 <x>248</x>
463 <y>254</y>
464 </hint>
465 <hint type="destinationlabel">
466 <x>157</x>
467 <y>274</y>
468 </hint>
469 </hints>
470 </connection>
471 <connection>
472 <sender>buttonBox</sender>
473 <signal>rejected()</signal>
474 <receiver>ImportTextDialog</receiver>
475 <slot>reject()</slot>
476 <hints>
477 <hint type="sourcelabel">
478 <x>316</x>
479 <y>260</y>
480 </hint>
481 <hint type="destinationlabel">
482 <x>286</x>
483 <y>274</y>
484 </hint>
485 </hints>
486 </connection>
487 </connections>
488 </ui>