1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>ImportTextDialog
</class>
4 <widget class=
"QDialog" name=
"ImportTextDialog">
5 <property name=
"geometry">
13 <property name=
"sizePolicy">
14 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Maximum">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name=
"maximumSize">
21 <width>16777215</width>
25 <property name=
"windowTitle">
26 <string>Wireshark: Import from Hex Dump
</string>
28 <property name=
"sizeGripEnabled">
31 <property name=
"modal">
34 <layout class=
"QFormLayout" name=
"formLayout_3">
35 <property name=
"fieldGrowthPolicy">
36 <enum>QFormLayout::FieldsStayAtSizeHint
</enum>
38 <item row=
"0" column=
"0" colspan=
"2">
39 <widget class=
"QGroupBox" name=
"groupBox">
40 <property name=
"title">
41 <string>Import From
</string>
43 <layout class=
"QFormLayout" name=
"formLayout_2">
44 <item row=
"1" column=
"0" colspan=
"2">
45 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
47 <widget class=
"QLabel" name=
"label">
48 <property name=
"text">
49 <string>File:
</string>
54 <widget class=
"QLineEdit" name=
"textFileLineEdit">
55 <property name=
"sizePolicy">
56 <sizepolicy hsizetype=
"MinimumExpanding" vsizetype=
"Fixed">
57 <horstretch>0</horstretch>
58 <verstretch>0</verstretch>
61 <property name=
"toolTip">
62 <string>Set name of text file to import
</string>
67 <widget class=
"QPushButton" name=
"textFileBrowseButton">
68 <property name=
"toolTip">
69 <string>Browse for text file to import
</string>
71 <property name=
"text">
72 <string>Browse...
</string>
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>
85 <property name=
"text">
86 <string>Octal
</string>
90 <item row=
"0" column=
"0">
91 <widget class=
"QLabel" name=
"label_2">
92 <property name=
"text">
93 <string>Offsets:
</string>
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>
102 <property name=
"text">
103 <string>Hexadecimal
</string>
105 <property name=
"checked">
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>
115 <property name=
"text">
116 <string>Decimal
</string>
120 <item row=
"0" column=
"2" rowspan=
"3">
121 <spacer name=
"horizontalSpacer_2">
122 <property name=
"orientation">
123 <enum>Qt::Horizontal
</enum>
125 <property name=
"sizeHint" stdset=
"0">
135 <item row=
"4" column=
"0" colspan=
"2">
136 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
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>
142 <property name=
"text">
143 <string>Timestamp format:
</string>
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>
155 <widget class=
"QLabel" name=
"timestampExampleLabel">
156 <property name=
"text">
162 <spacer name=
"horizontalSpacer">
163 <property name=
"orientation">
164 <enum>Qt::Horizontal
</enum>
166 <property name=
"sizeHint" stdset=
"0">
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>
181 <property name=
"text">
182 <string>Direction indication:
</string>
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>
196 <item row=
"2" column=
"1">
197 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
199 <widget class=
"QLabel" name=
"label_11">
200 <property name=
"text">
201 <string>Maximum frame length:
</string>
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>
214 <item row=
"3" column=
"0" colspan=
"2">
215 <widget class=
"QDialogButtonBox" name=
"buttonBox">
216 <property name=
"orientation">
217 <enum>Qt::Horizontal
</enum>
219 <property name=
"standardButtons">
220 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok
</set>
224 <item row=
"1" column=
"0" colspan=
"2">
225 <widget class=
"QGroupBox" name=
"groupBox_2">
226 <property name=
"title">
227 <string>Encapsulation
</string>
229 <layout class=
"QFormLayout" name=
"formLayout">
230 <property name=
"fieldGrowthPolicy">
231 <enum>QFormLayout::FieldsStayAtSizeHint
</enum>
233 <item row=
"0" column=
"0" colspan=
"2">
234 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
236 <widget class=
"QLabel" name=
"label_4">
237 <property name=
"text">
238 <string>Encapsulation Type:
</string>
243 <widget class=
"QComboBox" name=
"encapComboBox">
244 <property name=
"toolTip">
245 <string>Encapsulation type of the frames in the import capture file
</string>
250 <spacer name=
"horizontalSpacer_3">
251 <property name=
"orientation">
252 <enum>Qt::Horizontal
</enum>
254 <property name=
"sizeHint" stdset=
"0">
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>
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>
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>
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>
292 <property name=
"text">
293 <string>Ethernet
</string>
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>
302 <property name=
"text">
303 <string>SCTP
</string>
307 <item row=
"6" column=
"1">
308 <widget class=
"QLabel" name=
"ppiLabel">
309 <property name=
"text">
310 <string>PPI:
</string>
314 <item row=
"2" column=
"1">
315 <widget class=
"QLabel" name=
"protocolLabel">
316 <property name=
"text">
317 <string>Protocol (dec):
</string>
321 <item row=
"0" column=
"0" colspan=
"3">
322 <widget class=
"QRadioButton" name=
"noDummyButton">
323 <property name=
"toolTip">
324 <string>Leave frames unchanged
</string>
326 <property name=
"text">
327 <string>No dummy header
</string>
329 <property name=
"checked">
334 <item row=
"0" column=
"3" rowspan=
"7">
335 <spacer name=
"horizontalSpacer_4">
336 <property name=
"orientation">
337 <enum>Qt::Horizontal
</enum>
339 <property name=
"sizeHint" stdset=
"0">
347 <item row=
"5" column=
"1">
348 <widget class=
"QLabel" name=
"tagLabel">
349 <property name=
"text">
350 <string>Tag:
</string>
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>
359 <property name=
"text">
364 <item row=
"3" column=
"1">
365 <widget class=
"QLabel" name=
"sourcePortLabel">
366 <property name=
"text">
367 <string>Source port:
</string>
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>
376 <property name=
"cursorPosition">
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>
386 <property name=
"text">
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>
398 <item row=
"4" column=
"1">
399 <widget class=
"QLabel" name=
"destinationPortLabel">
400 <property name=
"text">
401 <string>Destination port:
</string>
405 <item row=
"1" column=
"1">
406 <widget class=
"QLabel" name=
"ethertypeLabel">
407 <property name=
"text">
408 <string>Ethertype (hex):
</string>
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>
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>
424 <property name=
"text">
425 <string>SCTP (Data)
</string>
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>
434 <property name=
"text">
435 <string>IPv4
</string>
448 <class>SyntaxLineEdit
</class>
449 <extends>QLineEdit
</extends>
450 <header>syntax_line_edit.h
</header>
456 <sender>buttonBox
</sender>
457 <signal>accepted()
</signal>
458 <receiver>ImportTextDialog
</receiver>
459 <slot>accept()
</slot>
461 <hint type=
"sourcelabel">
465 <hint type=
"destinationlabel">
472 <sender>buttonBox
</sender>
473 <signal>rejected()
</signal>
474 <receiver>ImportTextDialog
</receiver>
475 <slot>reject()
</slot>
477 <hint type=
"sourcelabel">
481 <hint type=
"destinationlabel">