9 #ifndef UI_IMPORT_TEXT_DIALOG_H 10 #define UI_IMPORT_TEXT_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QComboBox> 18 #include <QtWidgets/QDialog> 19 #include <QtWidgets/QDialogButtonBox> 20 #include <QtWidgets/QFormLayout> 21 #include <QtWidgets/QGridLayout> 22 #include <QtWidgets/QGroupBox> 23 #include <QtWidgets/QHBoxLayout> 24 #include <QtWidgets/QHeaderView> 25 #include <QtWidgets/QLabel> 26 #include <QtWidgets/QLineEdit> 27 #include <QtWidgets/QPushButton> 28 #include <QtWidgets/QRadioButton> 29 #include <QtWidgets/QSpacerItem> 30 #include "widgets/syntax_line_edit.h" 37 QFormLayout *formLayout_3;
39 QFormLayout *formLayout_2;
40 QHBoxLayout *horizontalLayout_2;
42 QLineEdit *textFileLineEdit;
43 QPushButton *textFileBrowseButton;
44 QGridLayout *gridLayout_2;
45 QRadioButton *octalOffsetButton;
47 QRadioButton *hexOffsetButton;
48 QRadioButton *decimalOffsetButton;
49 QSpacerItem *horizontalSpacer_2;
50 QRadioButton *noOffsetButton;
51 QLabel *noOffsetLabel;
52 QHBoxLayout *horizontalLayout_3;
54 QLineEdit *dateTimeLineEdit;
55 QLabel *timestampExampleLabel;
56 QSpacerItem *horizontalSpacer;
57 QHBoxLayout *horizontalLayout_5;
58 QLabel *directionIndicationLabel;
59 QCheckBox *directionIndicationCheckBox;
60 QSpacerItem *horizontalSpacer_5;
61 QGroupBox *groupBox_2;
62 QFormLayout *formLayout;
63 QHBoxLayout *horizontalLayout;
65 QComboBox *encapComboBox;
66 QSpacerItem *horizontalSpacer_3;
67 QGridLayout *headerGridLayout;
71 QRadioButton *ethernetButton;
72 QRadioButton *sctpButton;
74 QLabel *protocolLabel;
75 QRadioButton *noDummyButton;
76 QSpacerItem *horizontalSpacer_4;
78 QRadioButton *udpButton;
79 QLabel *sourcePortLabel;
81 QRadioButton *tcpButton;
83 QLabel *destinationPortLabel;
84 QLabel *ethertypeLabel;
86 QRadioButton *sctpDataButton;
87 QRadioButton *ipv4Button;
88 QHBoxLayout *horizontalLayout_4;
91 QDialogButtonBox *buttonBox;
95 if (ImportTextDialog->objectName().isEmpty())
96 ImportTextDialog->setObjectName(QStringLiteral(
"ImportTextDialog"));
97 ImportTextDialog->resize(472, 486);
98 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
99 sizePolicy.setHorizontalStretch(0);
100 sizePolicy.setVerticalStretch(0);
101 sizePolicy.setHeightForWidth(ImportTextDialog->sizePolicy().hasHeightForWidth());
102 ImportTextDialog->setSizePolicy(sizePolicy);
103 ImportTextDialog->setMaximumSize(QSize(16777215, 486));
104 ImportTextDialog->setSizeGripEnabled(
true);
105 ImportTextDialog->setModal(
true);
106 formLayout_3 =
new QFormLayout(ImportTextDialog);
107 formLayout_3->setObjectName(QStringLiteral(
"formLayout_3"));
108 formLayout_3->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
109 groupBox =
new QGroupBox(ImportTextDialog);
110 groupBox->setObjectName(QStringLiteral(
"groupBox"));
111 groupBox->setFlat(
true);
112 formLayout_2 =
new QFormLayout(groupBox);
113 formLayout_2->setObjectName(QStringLiteral(
"formLayout_2"));
114 horizontalLayout_2 =
new QHBoxLayout();
115 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
116 label =
new QLabel(groupBox);
117 label->setObjectName(QStringLiteral(
"label"));
119 horizontalLayout_2->addWidget(label);
121 textFileLineEdit =
new QLineEdit(groupBox);
122 textFileLineEdit->setObjectName(QStringLiteral(
"textFileLineEdit"));
123 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
124 sizePolicy1.setHorizontalStretch(0);
125 sizePolicy1.setVerticalStretch(0);
126 sizePolicy1.setHeightForWidth(textFileLineEdit->sizePolicy().hasHeightForWidth());
127 textFileLineEdit->setSizePolicy(sizePolicy1);
129 horizontalLayout_2->addWidget(textFileLineEdit);
131 textFileBrowseButton =
new QPushButton(groupBox);
132 textFileBrowseButton->setObjectName(QStringLiteral(
"textFileBrowseButton"));
134 horizontalLayout_2->addWidget(textFileBrowseButton);
137 formLayout_2->setLayout(1, QFormLayout::SpanningRole, horizontalLayout_2);
139 gridLayout_2 =
new QGridLayout();
140 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
141 octalOffsetButton =
new QRadioButton(groupBox);
142 octalOffsetButton->setObjectName(QStringLiteral(
"octalOffsetButton"));
144 gridLayout_2->addWidget(octalOffsetButton, 2, 1, 1, 1);
146 label_2 =
new QLabel(groupBox);
147 label_2->setObjectName(QStringLiteral(
"label_2"));
149 gridLayout_2->addWidget(label_2, 0, 0, 1, 1);
151 hexOffsetButton =
new QRadioButton(groupBox);
152 hexOffsetButton->setObjectName(QStringLiteral(
"hexOffsetButton"));
153 hexOffsetButton->setChecked(
true);
155 gridLayout_2->addWidget(hexOffsetButton, 0, 1, 1, 1);
157 decimalOffsetButton =
new QRadioButton(groupBox);
158 decimalOffsetButton->setObjectName(QStringLiteral(
"decimalOffsetButton"));
160 gridLayout_2->addWidget(decimalOffsetButton, 1, 1, 1, 1);
162 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
164 gridLayout_2->addItem(horizontalSpacer_2, 0, 2, 3, 1);
166 noOffsetButton =
new QRadioButton(groupBox);
167 noOffsetButton->setObjectName(QStringLiteral(
"noOffsetButton"));
169 gridLayout_2->addWidget(noOffsetButton, 3, 1, 1, 1);
171 noOffsetLabel =
new QLabel(groupBox);
172 noOffsetLabel->setObjectName(QStringLiteral(
"noOffsetLabel"));
174 font.setItalic(
false);
175 noOffsetLabel->setFont(font);
177 gridLayout_2->addWidget(noOffsetLabel, 3, 2, 1, 1);
180 formLayout_2->setLayout(2, QFormLayout::SpanningRole, gridLayout_2);
182 horizontalLayout_3 =
new QHBoxLayout();
183 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
184 label_3 =
new QLabel(groupBox);
185 label_3->setObjectName(QStringLiteral(
"label_3"));
187 horizontalLayout_3->addWidget(label_3);
189 dateTimeLineEdit =
new QLineEdit(groupBox);
190 dateTimeLineEdit->setObjectName(QStringLiteral(
"dateTimeLineEdit"));
192 horizontalLayout_3->addWidget(dateTimeLineEdit);
194 timestampExampleLabel =
new QLabel(groupBox);
195 timestampExampleLabel->setObjectName(QStringLiteral(
"timestampExampleLabel"));
197 horizontalLayout_3->addWidget(timestampExampleLabel);
199 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
201 horizontalLayout_3->addItem(horizontalSpacer);
204 formLayout_2->setLayout(4, QFormLayout::SpanningRole, horizontalLayout_3);
206 horizontalLayout_5 =
new QHBoxLayout();
207 horizontalLayout_5->setObjectName(QStringLiteral(
"horizontalLayout_5"));
208 directionIndicationLabel =
new QLabel(groupBox);
209 directionIndicationLabel->setObjectName(QStringLiteral(
"directionIndicationLabel"));
211 horizontalLayout_5->addWidget(directionIndicationLabel);
213 directionIndicationCheckBox =
new QCheckBox(groupBox);
214 directionIndicationCheckBox->setObjectName(QStringLiteral(
"directionIndicationCheckBox"));
216 horizontalLayout_5->addWidget(directionIndicationCheckBox);
218 horizontalSpacer_5 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
220 horizontalLayout_5->addItem(horizontalSpacer_5);
223 formLayout_2->setLayout(5, QFormLayout::SpanningRole, horizontalLayout_5);
226 formLayout_3->setWidget(0, QFormLayout::SpanningRole, groupBox);
228 groupBox_2 =
new QGroupBox(ImportTextDialog);
229 groupBox_2->setObjectName(QStringLiteral(
"groupBox_2"));
230 groupBox_2->setFlat(
true);
231 formLayout =
new QFormLayout(groupBox_2);
232 formLayout->setObjectName(QStringLiteral(
"formLayout"));
233 formLayout->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
234 horizontalLayout =
new QHBoxLayout();
235 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
236 label_4 =
new QLabel(groupBox_2);
237 label_4->setObjectName(QStringLiteral(
"label_4"));
239 horizontalLayout->addWidget(label_4);
241 encapComboBox =
new QComboBox(groupBox_2);
242 encapComboBox->setObjectName(QStringLiteral(
"encapComboBox"));
244 horizontalLayout->addWidget(encapComboBox);
246 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
248 horizontalLayout->addItem(horizontalSpacer_3);
251 formLayout->setLayout(0, QFormLayout::SpanningRole, horizontalLayout);
253 headerGridLayout =
new QGridLayout();
254 headerGridLayout->setObjectName(QStringLiteral(
"headerGridLayout"));
256 sourcePortLineEdit->setObjectName(QStringLiteral(
"sourcePortLineEdit"));
258 headerGridLayout->addWidget(sourcePortLineEdit, 3, 2, 1, 1);
261 ppiLineEdit->setObjectName(QStringLiteral(
"ppiLineEdit"));
263 headerGridLayout->addWidget(ppiLineEdit, 6, 2, 1, 1);
266 destinationPortLineEdit->setObjectName(QStringLiteral(
"destinationPortLineEdit"));
268 headerGridLayout->addWidget(destinationPortLineEdit, 4, 2, 1, 1);
270 ethernetButton =
new QRadioButton(groupBox_2);
271 ethernetButton->setObjectName(QStringLiteral(
"ethernetButton"));
273 headerGridLayout->addWidget(ethernetButton, 1, 0, 1, 1);
275 sctpButton =
new QRadioButton(groupBox_2);
276 sctpButton->setObjectName(QStringLiteral(
"sctpButton"));
278 headerGridLayout->addWidget(sctpButton, 5, 0, 1, 1);
280 ppiLabel =
new QLabel(groupBox_2);
281 ppiLabel->setObjectName(QStringLiteral(
"ppiLabel"));
283 headerGridLayout->addWidget(ppiLabel, 6, 1, 1, 1);
285 protocolLabel =
new QLabel(groupBox_2);
286 protocolLabel->setObjectName(QStringLiteral(
"protocolLabel"));
288 headerGridLayout->addWidget(protocolLabel, 2, 1, 1, 1);
290 noDummyButton =
new QRadioButton(groupBox_2);
291 noDummyButton->setObjectName(QStringLiteral(
"noDummyButton"));
292 noDummyButton->setChecked(
true);
294 headerGridLayout->addWidget(noDummyButton, 0, 0, 1, 3);
296 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
298 headerGridLayout->addItem(horizontalSpacer_4, 0, 3, 7, 1);
300 tagLabel =
new QLabel(groupBox_2);
301 tagLabel->setObjectName(QStringLiteral(
"tagLabel"));
303 headerGridLayout->addWidget(tagLabel, 5, 1, 1, 1);
305 udpButton =
new QRadioButton(groupBox_2);
306 udpButton->setObjectName(QStringLiteral(
"udpButton"));
308 headerGridLayout->addWidget(udpButton, 3, 0, 1, 1);
310 sourcePortLabel =
new QLabel(groupBox_2);
311 sourcePortLabel->setObjectName(QStringLiteral(
"sourcePortLabel"));
313 headerGridLayout->addWidget(sourcePortLabel, 3, 1, 1, 1);
316 ethertypeLineEdit->setObjectName(QStringLiteral(
"ethertypeLineEdit"));
317 ethertypeLineEdit->setCursorPosition(0);
319 headerGridLayout->addWidget(ethertypeLineEdit, 1, 2, 1, 1);
321 tcpButton =
new QRadioButton(groupBox_2);
322 tcpButton->setObjectName(QStringLiteral(
"tcpButton"));
324 headerGridLayout->addWidget(tcpButton, 4, 0, 1, 1);
327 tagLineEdit->setObjectName(QStringLiteral(
"tagLineEdit"));
329 headerGridLayout->addWidget(tagLineEdit, 5, 2, 1, 1);
331 destinationPortLabel =
new QLabel(groupBox_2);
332 destinationPortLabel->setObjectName(QStringLiteral(
"destinationPortLabel"));
334 headerGridLayout->addWidget(destinationPortLabel, 4, 1, 1, 1);
336 ethertypeLabel =
new QLabel(groupBox_2);
337 ethertypeLabel->setObjectName(QStringLiteral(
"ethertypeLabel"));
339 headerGridLayout->addWidget(ethertypeLabel, 1, 1, 1, 1);
342 protocolLineEdit->setObjectName(QStringLiteral(
"protocolLineEdit"));
344 headerGridLayout->addWidget(protocolLineEdit, 2, 2, 1, 1);
346 sctpDataButton =
new QRadioButton(groupBox_2);
347 sctpDataButton->setObjectName(QStringLiteral(
"sctpDataButton"));
349 headerGridLayout->addWidget(sctpDataButton, 6, 0, 1, 1);
351 ipv4Button =
new QRadioButton(groupBox_2);
352 ipv4Button->setObjectName(QStringLiteral(
"ipv4Button"));
354 headerGridLayout->addWidget(ipv4Button, 2, 0, 1, 1);
357 formLayout->setLayout(1, QFormLayout::SpanningRole, headerGridLayout);
360 formLayout_3->setWidget(1, QFormLayout::SpanningRole, groupBox_2);
362 horizontalLayout_4 =
new QHBoxLayout();
363 horizontalLayout_4->setObjectName(QStringLiteral(
"horizontalLayout_4"));
364 label_11 =
new QLabel(ImportTextDialog);
365 label_11->setObjectName(QStringLiteral(
"label_11"));
367 horizontalLayout_4->addWidget(label_11);
370 maxLengthLineEdit->setObjectName(QStringLiteral(
"maxLengthLineEdit"));
372 horizontalLayout_4->addWidget(maxLengthLineEdit);
375 formLayout_3->setLayout(2, QFormLayout::FieldRole, horizontalLayout_4);
377 buttonBox =
new QDialogButtonBox(ImportTextDialog);
378 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
379 buttonBox->setOrientation(Qt::Horizontal);
380 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Open);
382 formLayout_3->setWidget(3, QFormLayout::SpanningRole, buttonBox);
385 retranslateUi(ImportTextDialog);
386 QObject::connect(buttonBox, SIGNAL(accepted()), ImportTextDialog, SLOT(accept()));
387 QObject::connect(buttonBox, SIGNAL(rejected()), ImportTextDialog, SLOT(reject()));
389 QMetaObject::connectSlotsByName(ImportTextDialog);
392 void retranslateUi(QDialog *ImportTextDialog)
394 groupBox->setTitle(QApplication::translate(
"ImportTextDialog",
"Import From", 0));
395 label->setText(QApplication::translate(
"ImportTextDialog",
"File:", 0));
396 #ifndef QT_NO_TOOLTIP 397 textFileLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"Set name of text file to import", 0));
398 #endif // QT_NO_TOOLTIP 399 #ifndef QT_NO_TOOLTIP 400 textFileBrowseButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Browse for text file to import", 0));
401 #endif // QT_NO_TOOLTIP 402 textFileBrowseButton->setText(QApplication::translate(
"ImportTextDialog",
"Browse\342\200\246", 0));
403 #ifndef QT_NO_TOOLTIP 404 octalOffsetButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Offsets in the text file are in octal notation", 0));
405 #endif // QT_NO_TOOLTIP 406 octalOffsetButton->setText(QApplication::translate(
"ImportTextDialog",
"Octal", 0));
407 label_2->setText(QApplication::translate(
"ImportTextDialog",
"Offsets:", 0));
408 #ifndef QT_NO_TOOLTIP 409 hexOffsetButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Offsets in the text file are in hexadecimal notation", 0));
410 #endif // QT_NO_TOOLTIP 411 hexOffsetButton->setText(QApplication::translate(
"ImportTextDialog",
"Hexadecimal", 0));
412 #ifndef QT_NO_TOOLTIP 413 decimalOffsetButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Offsets in the text file are in decimal notation", 0));
414 #endif // QT_NO_TOOLTIP 415 decimalOffsetButton->setText(QApplication::translate(
"ImportTextDialog",
"Decimal", 0));
416 #ifndef QT_NO_TOOLTIP 417 noOffsetButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"The text file has no offset", 0));
418 #endif // QT_NO_TOOLTIP 419 noOffsetButton->setText(QApplication::translate(
"ImportTextDialog",
"None", 0));
420 noOffsetLabel->setText(QString());
421 #ifndef QT_NO_TOOLTIP 422 label_3->setToolTip(QApplication::translate(
"ImportTextDialog",
"The format in which to parse timestamps in the text file (eg. %H:%M:%S.). Format specifiers are based on strptime(3)", 0));
423 #endif // QT_NO_TOOLTIP 424 label_3->setText(QApplication::translate(
"ImportTextDialog",
"Timestamp format:", 0));
425 #ifndef QT_NO_TOOLTIP 426 dateTimeLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The format in which to parse timestamps in the text file (eg. %H:%M:%S.). Format specifiers are based on strptime(3)", 0));
427 #endif // QT_NO_TOOLTIP 428 timestampExampleLabel->setText(QString());
429 #ifndef QT_NO_TOOLTIP 430 directionIndicationLabel->setToolTip(QApplication::translate(
"ImportTextDialog",
"Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.", 0));
431 #endif // QT_NO_TOOLTIP 432 directionIndicationLabel->setText(QApplication::translate(
"ImportTextDialog",
"Direction indication:", 0));
433 #ifndef QT_NO_TOOLTIP 434 directionIndicationCheckBox->setToolTip(QApplication::translate(
"ImportTextDialog",
"Whether or not the file contains information indicating the direction (inbound or outbound) of the packet.", 0));
435 #endif // QT_NO_TOOLTIP 436 groupBox_2->setTitle(QApplication::translate(
"ImportTextDialog",
"Encapsulation", 0));
437 label_4->setText(QApplication::translate(
"ImportTextDialog",
"Encapsulation Type:", 0));
438 #ifndef QT_NO_TOOLTIP 439 encapComboBox->setToolTip(QApplication::translate(
"ImportTextDialog",
"Encapsulation type of the frames in the import capture file", 0));
440 #endif // QT_NO_TOOLTIP 441 #ifndef QT_NO_TOOLTIP 442 sourcePortLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The UDP, TCP or SCTP source port for each frame", 0));
443 #endif // QT_NO_TOOLTIP 444 #ifndef QT_NO_TOOLTIP 445 ppiLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The SCTP DATA payload protocol identifier for each frame", 0));
446 #endif // QT_NO_TOOLTIP 447 #ifndef QT_NO_TOOLTIP 448 destinationPortLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The UDP, TCP or SCTP destination port for each frame", 0));
449 #endif // QT_NO_TOOLTIP 450 #ifndef QT_NO_TOOLTIP 451 ethernetButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Prefix each frame with an Ethernet header", 0));
452 #endif // QT_NO_TOOLTIP 453 ethernetButton->setText(QApplication::translate(
"ImportTextDialog",
"Ethernet", 0));
454 #ifndef QT_NO_TOOLTIP 455 sctpButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Prefix each frame with an Ethernet, IPv4 and SCTP header", 0));
456 #endif // QT_NO_TOOLTIP 457 sctpButton->setText(QApplication::translate(
"ImportTextDialog",
"SCTP", 0));
458 ppiLabel->setText(QApplication::translate(
"ImportTextDialog",
"PPI:", 0));
459 protocolLabel->setText(QApplication::translate(
"ImportTextDialog",
"Protocol (dec):", 0));
460 #ifndef QT_NO_TOOLTIP 461 noDummyButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Leave frames unchanged", 0));
462 #endif // QT_NO_TOOLTIP 463 noDummyButton->setText(QApplication::translate(
"ImportTextDialog",
"No dummy header", 0));
464 tagLabel->setText(QApplication::translate(
"ImportTextDialog",
"Tag:", 0));
465 #ifndef QT_NO_TOOLTIP 466 udpButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Prefix each frame with an Ethernet, IPv4 and UDP header", 0));
467 #endif // QT_NO_TOOLTIP 468 udpButton->setText(QApplication::translate(
"ImportTextDialog",
"UDP", 0));
469 sourcePortLabel->setText(QApplication::translate(
"ImportTextDialog",
"Source port:", 0));
470 #ifndef QT_NO_TOOLTIP 471 ethertypeLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The Ethertype value of each frame", 0));
472 #endif // QT_NO_TOOLTIP 473 #ifndef QT_NO_TOOLTIP 474 tcpButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Prefix each frame with an Ethernet, IPv4 and TCP header", 0));
475 #endif // QT_NO_TOOLTIP 476 tcpButton->setText(QApplication::translate(
"ImportTextDialog",
"TCP", 0));
477 #ifndef QT_NO_TOOLTIP 478 tagLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The SCTP verification tag for each frame", 0));
479 #endif // QT_NO_TOOLTIP 480 destinationPortLabel->setText(QApplication::translate(
"ImportTextDialog",
"Destination port:", 0));
481 ethertypeLabel->setText(QApplication::translate(
"ImportTextDialog",
"Ethertype (hex):", 0));
482 #ifndef QT_NO_TOOLTIP 483 protocolLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The IPv4 protocol ID for each frame", 0));
484 #endif // QT_NO_TOOLTIP 485 #ifndef QT_NO_TOOLTIP 486 sctpDataButton->setToolTip(QApplication::translate(
"ImportTextDialog",
"Prefix each frame with an Ethernet, IPv4 and SCTP (DATA) header", 0));
487 #endif // QT_NO_TOOLTIP 488 sctpDataButton->setText(QApplication::translate(
"ImportTextDialog",
"SCTP (Data)", 0));
489 #ifndef QT_NO_TOOLTIP 490 ipv4Button->setToolTip(QApplication::translate(
"ImportTextDialog",
"Prefix each frame with an Ethernet and IPv4 header", 0));
491 #endif // QT_NO_TOOLTIP 492 ipv4Button->setText(QApplication::translate(
"ImportTextDialog",
"IPv4", 0));
493 label_11->setText(QApplication::translate(
"ImportTextDialog",
"Maximum frame length:", 0));
494 #ifndef QT_NO_TOOLTIP 495 maxLengthLineEdit->setToolTip(QApplication::translate(
"ImportTextDialog",
"The maximum size of the frames to write to the import capture file (max 64000)", 0));
496 #endif // QT_NO_TOOLTIP 497 Q_UNUSED(ImportTextDialog);
508 #endif // UI_IMPORT_TEXT_DIALOG_H Definition: ui_import_text_dialog.h:34
Definition: import_text_dialog.h:31
Definition: ui_about_dialog.h:291
Definition: syntax_line_edit.h:22
Definition: ui_import_text_dialog.h:503