9 #ifndef UI_TCP_STREAM_DIALOG_H 10 #define UI_TCP_STREAM_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/QDoubleSpinBox> 21 #include <QtWidgets/QHBoxLayout> 22 #include <QtWidgets/QHeaderView> 23 #include <QtWidgets/QLabel> 24 #include <QtWidgets/QPushButton> 25 #include <QtWidgets/QRadioButton> 26 #include <QtWidgets/QSpacerItem> 27 #include <QtWidgets/QSpinBox> 28 #include <QtWidgets/QVBoxLayout> 37 QAction *actionZoomIn;
38 QAction *actionZoomOut;
39 QAction *actionMoveUp10;
40 QAction *actionMoveLeft10;
41 QAction *actionMoveRight10;
42 QAction *actionMoveDown10;
43 QAction *actionMoveUp1;
44 QAction *actionMoveLeft1;
45 QAction *actionMoveRight1;
46 QAction *actionMoveDown1;
47 QAction *actionNextStream;
48 QAction *actionPreviousStream;
49 QAction *actionSwitchDirection;
50 QAction *actionGoToPacket;
51 QAction *actionDragZoom;
52 QAction *actionToggleSequenceNumbers;
53 QAction *actionToggleTimeOrigin;
54 QAction *actionCrosshairs;
55 QAction *actionRoundTripTime;
56 QAction *actionThroughput;
57 QAction *actionStevens;
58 QAction *actionWindowScaling;
59 QAction *actionTcptrace;
60 QAction *actionZoomInX;
61 QAction *actionZoomOutX;
62 QAction *actionZoomInY;
63 QAction *actionZoomOutY;
64 QVBoxLayout *verticalLayout;
67 QHBoxLayout *horizontalLayout;
69 QComboBox *graphTypeComboBox;
70 QSpacerItem *horizontalSpacer_1a;
71 QLabel *maWindowSizeLabel;
72 QDoubleSpinBox *maWindowSizeSpinBox;
73 QCheckBox *selectSACKsCheckBox;
74 QSpacerItem *horizontalSpacer_1b;
75 QLabel *streamNumberLabel;
76 QSpinBox *streamNumberSpinBox;
77 QPushButton *otherDirectionButton;
78 QHBoxLayout *horizontalLayout_2;
80 QRadioButton *dragRadioButton;
81 QRadioButton *zoomRadioButton;
82 QSpacerItem *horizontalSpacer_2a;
83 QCheckBox *bySeqNumberCheckBox;
84 QCheckBox *showSegLengthCheckBox;
85 QCheckBox *showThroughputCheckBox;
86 QCheckBox *showGoodputCheckBox;
87 QCheckBox *showRcvWinCheckBox;
88 QCheckBox *showBytesOutCheckBox;
89 QSpacerItem *horizontalSpacer_2b;
90 QPushButton *resetButton;
91 QDialogButtonBox *buttonBox;
92 QButtonGroup *mouseButtonGroup;
96 if (TCPStreamDialog->objectName().isEmpty())
97 TCPStreamDialog->setObjectName(QStringLiteral(
"TCPStreamDialog"));
98 TCPStreamDialog->resize(850, 640);
99 actionReset =
new QAction(TCPStreamDialog);
100 actionReset->setObjectName(QStringLiteral(
"actionReset"));
101 actionZoomIn =
new QAction(TCPStreamDialog);
102 actionZoomIn->setObjectName(QStringLiteral(
"actionZoomIn"));
103 actionZoomOut =
new QAction(TCPStreamDialog);
104 actionZoomOut->setObjectName(QStringLiteral(
"actionZoomOut"));
105 actionMoveUp10 =
new QAction(TCPStreamDialog);
106 actionMoveUp10->setObjectName(QStringLiteral(
"actionMoveUp10"));
107 actionMoveLeft10 =
new QAction(TCPStreamDialog);
108 actionMoveLeft10->setObjectName(QStringLiteral(
"actionMoveLeft10"));
109 actionMoveRight10 =
new QAction(TCPStreamDialog);
110 actionMoveRight10->setObjectName(QStringLiteral(
"actionMoveRight10"));
111 actionMoveDown10 =
new QAction(TCPStreamDialog);
112 actionMoveDown10->setObjectName(QStringLiteral(
"actionMoveDown10"));
113 actionMoveUp1 =
new QAction(TCPStreamDialog);
114 actionMoveUp1->setObjectName(QStringLiteral(
"actionMoveUp1"));
115 actionMoveLeft1 =
new QAction(TCPStreamDialog);
116 actionMoveLeft1->setObjectName(QStringLiteral(
"actionMoveLeft1"));
117 actionMoveRight1 =
new QAction(TCPStreamDialog);
118 actionMoveRight1->setObjectName(QStringLiteral(
"actionMoveRight1"));
119 actionMoveDown1 =
new QAction(TCPStreamDialog);
120 actionMoveDown1->setObjectName(QStringLiteral(
"actionMoveDown1"));
121 actionNextStream =
new QAction(TCPStreamDialog);
122 actionNextStream->setObjectName(QStringLiteral(
"actionNextStream"));
123 actionPreviousStream =
new QAction(TCPStreamDialog);
124 actionPreviousStream->setObjectName(QStringLiteral(
"actionPreviousStream"));
125 actionSwitchDirection =
new QAction(TCPStreamDialog);
126 actionSwitchDirection->setObjectName(QStringLiteral(
"actionSwitchDirection"));
127 actionGoToPacket =
new QAction(TCPStreamDialog);
128 actionGoToPacket->setObjectName(QStringLiteral(
"actionGoToPacket"));
129 actionDragZoom =
new QAction(TCPStreamDialog);
130 actionDragZoom->setObjectName(QStringLiteral(
"actionDragZoom"));
131 actionToggleSequenceNumbers =
new QAction(TCPStreamDialog);
132 actionToggleSequenceNumbers->setObjectName(QStringLiteral(
"actionToggleSequenceNumbers"));
133 actionToggleTimeOrigin =
new QAction(TCPStreamDialog);
134 actionToggleTimeOrigin->setObjectName(QStringLiteral(
"actionToggleTimeOrigin"));
135 actionCrosshairs =
new QAction(TCPStreamDialog);
136 actionCrosshairs->setObjectName(QStringLiteral(
"actionCrosshairs"));
137 actionRoundTripTime =
new QAction(TCPStreamDialog);
138 actionRoundTripTime->setObjectName(QStringLiteral(
"actionRoundTripTime"));
139 actionThroughput =
new QAction(TCPStreamDialog);
140 actionThroughput->setObjectName(QStringLiteral(
"actionThroughput"));
141 actionStevens =
new QAction(TCPStreamDialog);
142 actionStevens->setObjectName(QStringLiteral(
"actionStevens"));
143 actionWindowScaling =
new QAction(TCPStreamDialog);
144 actionWindowScaling->setObjectName(QStringLiteral(
"actionWindowScaling"));
145 actionTcptrace =
new QAction(TCPStreamDialog);
146 actionTcptrace->setObjectName(QStringLiteral(
"actionTcptrace"));
147 actionZoomInX =
new QAction(TCPStreamDialog);
148 actionZoomInX->setObjectName(QStringLiteral(
"actionZoomInX"));
149 actionZoomOutX =
new QAction(TCPStreamDialog);
150 actionZoomOutX->setObjectName(QStringLiteral(
"actionZoomOutX"));
151 actionZoomInY =
new QAction(TCPStreamDialog);
152 actionZoomInY->setObjectName(QStringLiteral(
"actionZoomInY"));
153 actionZoomOutY =
new QAction(TCPStreamDialog);
154 actionZoomOutY->setObjectName(QStringLiteral(
"actionZoomOutY"));
155 verticalLayout =
new QVBoxLayout(TCPStreamDialog);
156 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
158 streamPlot->setObjectName(QStringLiteral(
"streamPlot"));
159 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
160 sizePolicy.setHorizontalStretch(0);
161 sizePolicy.setVerticalStretch(1);
162 sizePolicy.setHeightForWidth(streamPlot->sizePolicy().hasHeightForWidth());
163 streamPlot->setSizePolicy(sizePolicy);
164 streamPlot->setFocusPolicy(Qt::TabFocus);
166 verticalLayout->addWidget(streamPlot);
168 hintLabel =
new QLabel(TCPStreamDialog);
169 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
170 hintLabel->setWordWrap(
true);
172 verticalLayout->addWidget(hintLabel);
174 horizontalLayout =
new QHBoxLayout();
175 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
176 label =
new QLabel(TCPStreamDialog);
177 label->setObjectName(QStringLiteral(
"label"));
179 horizontalLayout->addWidget(label);
181 graphTypeComboBox =
new QComboBox(TCPStreamDialog);
182 graphTypeComboBox->setObjectName(QStringLiteral(
"graphTypeComboBox"));
183 graphTypeComboBox->setFrame(
false);
184 graphTypeComboBox->setFocusPolicy(Qt::TabFocus);
186 horizontalLayout->addWidget(graphTypeComboBox);
188 horizontalSpacer_1a =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
190 horizontalLayout->addItem(horizontalSpacer_1a);
192 maWindowSizeLabel =
new QLabel(TCPStreamDialog);
193 maWindowSizeLabel->setObjectName(QStringLiteral(
"maWindowSizeLabel"));
195 horizontalLayout->addWidget(maWindowSizeLabel);
197 maWindowSizeSpinBox =
new QDoubleSpinBox(TCPStreamDialog);
198 maWindowSizeSpinBox->setObjectName(QStringLiteral(
"maWindowSizeSpinBox"));
200 horizontalLayout->addWidget(maWindowSizeSpinBox);
202 selectSACKsCheckBox =
new QCheckBox(TCPStreamDialog);
203 selectSACKsCheckBox->setObjectName(QStringLiteral(
"selectSACKsCheckBox"));
204 selectSACKsCheckBox->setFocusPolicy(Qt::TabFocus);
206 horizontalLayout->addWidget(selectSACKsCheckBox);
208 horizontalSpacer_1b =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
210 horizontalLayout->addItem(horizontalSpacer_1b);
212 streamNumberLabel =
new QLabel(TCPStreamDialog);
213 streamNumberLabel->setObjectName(QStringLiteral(
"streamNumberLabel"));
215 horizontalLayout->addWidget(streamNumberLabel);
217 streamNumberSpinBox =
new QSpinBox(TCPStreamDialog);
218 streamNumberSpinBox->setObjectName(QStringLiteral(
"streamNumberSpinBox"));
220 horizontalLayout->addWidget(streamNumberSpinBox);
222 otherDirectionButton =
new QPushButton(TCPStreamDialog);
223 otherDirectionButton->setObjectName(QStringLiteral(
"otherDirectionButton"));
225 horizontalLayout->addWidget(otherDirectionButton);
228 verticalLayout->addLayout(horizontalLayout);
230 horizontalLayout_2 =
new QHBoxLayout();
231 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
232 mouseLabel =
new QLabel(TCPStreamDialog);
233 mouseLabel->setObjectName(QStringLiteral(
"mouseLabel"));
235 horizontalLayout_2->addWidget(mouseLabel);
237 dragRadioButton =
new QRadioButton(TCPStreamDialog);
238 mouseButtonGroup =
new QButtonGroup(TCPStreamDialog);
239 mouseButtonGroup->setObjectName(QStringLiteral(
"mouseButtonGroup"));
240 mouseButtonGroup->addButton(dragRadioButton);
241 dragRadioButton->setObjectName(QStringLiteral(
"dragRadioButton"));
242 dragRadioButton->setCheckable(
true);
243 dragRadioButton->setFocusPolicy(Qt::TabFocus);
245 horizontalLayout_2->addWidget(dragRadioButton);
247 zoomRadioButton =
new QRadioButton(TCPStreamDialog);
248 mouseButtonGroup->addButton(zoomRadioButton);
249 zoomRadioButton->setObjectName(QStringLiteral(
"zoomRadioButton"));
250 zoomRadioButton->setCheckable(
true);
251 zoomRadioButton->setFocusPolicy(Qt::TabFocus);
253 horizontalLayout_2->addWidget(zoomRadioButton);
255 horizontalSpacer_2a =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
257 horizontalLayout_2->addItem(horizontalSpacer_2a);
259 bySeqNumberCheckBox =
new QCheckBox(TCPStreamDialog);
260 bySeqNumberCheckBox->setObjectName(QStringLiteral(
"bySeqNumberCheckBox"));
261 bySeqNumberCheckBox->setFocusPolicy(Qt::TabFocus);
263 horizontalLayout_2->addWidget(bySeqNumberCheckBox);
265 showSegLengthCheckBox =
new QCheckBox(TCPStreamDialog);
266 showSegLengthCheckBox->setObjectName(QStringLiteral(
"showSegLengthCheckBox"));
267 showSegLengthCheckBox->setFocusPolicy(Qt::TabFocus);
269 horizontalLayout_2->addWidget(showSegLengthCheckBox);
271 showThroughputCheckBox =
new QCheckBox(TCPStreamDialog);
272 showThroughputCheckBox->setObjectName(QStringLiteral(
"showThroughputCheckBox"));
273 showThroughputCheckBox->setFocusPolicy(Qt::TabFocus);
275 horizontalLayout_2->addWidget(showThroughputCheckBox);
277 showGoodputCheckBox =
new QCheckBox(TCPStreamDialog);
278 showGoodputCheckBox->setObjectName(QStringLiteral(
"showGoodputCheckBox"));
279 showGoodputCheckBox->setFocusPolicy(Qt::TabFocus);
281 horizontalLayout_2->addWidget(showGoodputCheckBox);
283 showRcvWinCheckBox =
new QCheckBox(TCPStreamDialog);
284 showRcvWinCheckBox->setObjectName(QStringLiteral(
"showRcvWinCheckBox"));
285 showRcvWinCheckBox->setFocusPolicy(Qt::TabFocus);
287 horizontalLayout_2->addWidget(showRcvWinCheckBox);
289 showBytesOutCheckBox =
new QCheckBox(TCPStreamDialog);
290 showBytesOutCheckBox->setObjectName(QStringLiteral(
"showBytesOutCheckBox"));
291 showBytesOutCheckBox->setFocusPolicy(Qt::TabFocus);
293 horizontalLayout_2->addWidget(showBytesOutCheckBox);
295 horizontalSpacer_2b =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
297 horizontalLayout_2->addItem(horizontalSpacer_2b);
299 resetButton =
new QPushButton(TCPStreamDialog);
300 resetButton->setObjectName(QStringLiteral(
"resetButton"));
302 horizontalLayout_2->addWidget(resetButton);
305 verticalLayout->addLayout(horizontalLayout_2);
307 buttonBox =
new QDialogButtonBox(TCPStreamDialog);
308 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
309 buttonBox->setOrientation(Qt::Horizontal);
310 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Save);
312 verticalLayout->addWidget(buttonBox);
315 retranslateUi(TCPStreamDialog);
316 QObject::connect(buttonBox, SIGNAL(accepted()), TCPStreamDialog, SLOT(accept()));
317 QObject::connect(buttonBox, SIGNAL(rejected()), TCPStreamDialog, SLOT(reject()));
319 QMetaObject::connectSlotsByName(TCPStreamDialog);
322 void retranslateUi(QDialog *TCPStreamDialog)
324 TCPStreamDialog->setWindowTitle(QApplication::translate(
"TCPStreamDialog",
"Dialog", 0));
325 actionReset->setText(QApplication::translate(
"TCPStreamDialog",
"Reset Graph", 0));
326 #ifndef QT_NO_TOOLTIP 327 actionReset->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Reset the graph to its initial state.", 0));
328 #endif // QT_NO_TOOLTIP 329 actionReset->setShortcut(QApplication::translate(
"TCPStreamDialog",
"0", 0));
330 actionZoomIn->setText(QApplication::translate(
"TCPStreamDialog",
"Zoom In", 0));
331 #ifndef QT_NO_TOOLTIP 332 actionZoomIn->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Zoom In", 0));
333 #endif // QT_NO_TOOLTIP 334 actionZoomIn->setShortcut(QApplication::translate(
"TCPStreamDialog",
"+", 0));
335 actionZoomOut->setText(QApplication::translate(
"TCPStreamDialog",
"Zoom Out", 0));
336 #ifndef QT_NO_TOOLTIP 337 actionZoomOut->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Zoom Out", 0));
338 #endif // QT_NO_TOOLTIP 339 actionZoomOut->setShortcut(QApplication::translate(
"TCPStreamDialog",
"-", 0));
340 actionMoveUp10->setText(QApplication::translate(
"TCPStreamDialog",
"Move Up 10 Pixels", 0));
341 #ifndef QT_NO_TOOLTIP 342 actionMoveUp10->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Up 10 Pixels", 0));
343 #endif // QT_NO_TOOLTIP 344 actionMoveUp10->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Up", 0));
345 actionMoveLeft10->setText(QApplication::translate(
"TCPStreamDialog",
"Move Left 10 Pixels", 0));
346 #ifndef QT_NO_TOOLTIP 347 actionMoveLeft10->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Left 10 Pixels", 0));
348 #endif // QT_NO_TOOLTIP 349 actionMoveLeft10->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Left", 0));
350 actionMoveRight10->setText(QApplication::translate(
"TCPStreamDialog",
"Move Right 10 Pixels", 0));
351 #ifndef QT_NO_TOOLTIP 352 actionMoveRight10->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Right 10 Pixels", 0));
353 #endif // QT_NO_TOOLTIP 354 actionMoveRight10->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Right", 0));
355 actionMoveDown10->setText(QApplication::translate(
"TCPStreamDialog",
"Move Down 10 Pixels", 0));
356 #ifndef QT_NO_TOOLTIP 357 actionMoveDown10->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Down 10 Pixels", 0));
358 #endif // QT_NO_TOOLTIP 359 actionMoveDown10->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Down", 0));
360 actionMoveUp1->setText(QApplication::translate(
"TCPStreamDialog",
"Move Up 1 Pixel", 0));
361 #ifndef QT_NO_TOOLTIP 362 actionMoveUp1->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Up 1 Pixel", 0));
363 #endif // QT_NO_TOOLTIP 364 actionMoveUp1->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Shift+Up", 0));
365 actionMoveLeft1->setText(QApplication::translate(
"TCPStreamDialog",
"Move Left 1 Pixel", 0));
366 #ifndef QT_NO_TOOLTIP 367 actionMoveLeft1->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Left 1 Pixel", 0));
368 #endif // QT_NO_TOOLTIP 369 actionMoveLeft1->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Shift+Left", 0));
370 actionMoveRight1->setText(QApplication::translate(
"TCPStreamDialog",
"Move Right 1 Pixel", 0));
371 #ifndef QT_NO_TOOLTIP 372 actionMoveRight1->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Right 1 Pixel", 0));
373 #endif // QT_NO_TOOLTIP 374 actionMoveRight1->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Shift+Right", 0));
375 actionMoveDown1->setText(QApplication::translate(
"TCPStreamDialog",
"Move Down 1 Pixel", 0));
376 #ifndef QT_NO_TOOLTIP 377 actionMoveDown1->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Move Down 1 Pixel", 0));
378 #endif // QT_NO_TOOLTIP 379 actionMoveDown1->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Shift+Down", 0));
380 actionNextStream->setText(QApplication::translate(
"TCPStreamDialog",
"Next Stream", 0));
381 #ifndef QT_NO_TOOLTIP 382 actionNextStream->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Go to the next stream in the capture", 0));
383 #endif // QT_NO_TOOLTIP 384 actionNextStream->setShortcut(QApplication::translate(
"TCPStreamDialog",
"PgUp", 0));
385 actionPreviousStream->setText(QApplication::translate(
"TCPStreamDialog",
"Previous Stream", 0));
386 #ifndef QT_NO_TOOLTIP 387 actionPreviousStream->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Go to the previous stream in the capture", 0));
388 #endif // QT_NO_TOOLTIP 389 actionPreviousStream->setShortcut(QApplication::translate(
"TCPStreamDialog",
"PgDown", 0));
390 actionSwitchDirection->setText(QApplication::translate(
"TCPStreamDialog",
"Switch Direction", 0));
391 #ifndef QT_NO_TOOLTIP 392 actionSwitchDirection->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Switch direction (swap TCP endpoints)", 0));
393 #endif // QT_NO_TOOLTIP 394 actionSwitchDirection->setShortcut(QApplication::translate(
"TCPStreamDialog",
"D", 0));
395 actionGoToPacket->setText(QApplication::translate(
"TCPStreamDialog",
"Go To Packet Under Cursor", 0));
396 #ifndef QT_NO_TOOLTIP 397 actionGoToPacket->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Go to packet currently under the cursor", 0));
398 #endif // QT_NO_TOOLTIP 399 actionGoToPacket->setShortcut(QApplication::translate(
"TCPStreamDialog",
"G", 0));
400 actionDragZoom->setText(QApplication::translate(
"TCPStreamDialog",
"Drag / Zoom", 0));
401 #ifndef QT_NO_TOOLTIP 402 actionDragZoom->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Toggle mouse drag / zoom behavior", 0));
403 #endif // QT_NO_TOOLTIP 404 actionDragZoom->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Z", 0));
405 actionToggleSequenceNumbers->setText(QApplication::translate(
"TCPStreamDialog",
"Relative / Absolute Sequence Numbers", 0));
406 #ifndef QT_NO_TOOLTIP 407 actionToggleSequenceNumbers->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Toggle relative / absolute sequence numbers", 0));
408 #endif // QT_NO_TOOLTIP 409 actionToggleSequenceNumbers->setShortcut(QApplication::translate(
"TCPStreamDialog",
"S", 0));
410 actionToggleTimeOrigin->setText(QApplication::translate(
"TCPStreamDialog",
"Capture / Session Time Origin", 0));
411 #ifndef QT_NO_TOOLTIP 412 actionToggleTimeOrigin->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Toggle capture / session time origin", 0));
413 #endif // QT_NO_TOOLTIP 414 actionToggleTimeOrigin->setShortcut(QApplication::translate(
"TCPStreamDialog",
"T", 0));
415 actionCrosshairs->setText(QApplication::translate(
"TCPStreamDialog",
"Crosshairs", 0));
416 #ifndef QT_NO_TOOLTIP 417 actionCrosshairs->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Toggle crosshairs", 0));
418 #endif // QT_NO_TOOLTIP 419 actionCrosshairs->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Space", 0));
420 actionRoundTripTime->setText(QApplication::translate(
"TCPStreamDialog",
"Round Trip Time", 0));
421 #ifndef QT_NO_TOOLTIP 422 actionRoundTripTime->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Switch to the Round Trip Time graph", 0));
423 #endif // QT_NO_TOOLTIP 424 actionRoundTripTime->setShortcut(QApplication::translate(
"TCPStreamDialog",
"1", 0));
425 actionThroughput->setText(QApplication::translate(
"TCPStreamDialog",
"Throughput", 0));
426 #ifndef QT_NO_TOOLTIP 427 actionThroughput->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Switch to the Throughput graph", 0));
428 #endif // QT_NO_TOOLTIP 429 actionThroughput->setShortcut(QApplication::translate(
"TCPStreamDialog",
"2", 0));
430 actionStevens->setText(QApplication::translate(
"TCPStreamDialog",
"Time / Sequence (Stevens)", 0));
431 #ifndef QT_NO_TOOLTIP 432 actionStevens->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Switch to the Stevens-style Time / Sequence graph", 0));
433 #endif // QT_NO_TOOLTIP 434 actionStevens->setShortcut(QApplication::translate(
"TCPStreamDialog",
"3", 0));
435 actionWindowScaling->setText(QApplication::translate(
"TCPStreamDialog",
"Window Scaling", 0));
436 #ifndef QT_NO_TOOLTIP 437 actionWindowScaling->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Switch to the Window Scaling graph", 0));
438 #endif // QT_NO_TOOLTIP 439 actionWindowScaling->setShortcut(QApplication::translate(
"TCPStreamDialog",
"5", 0));
440 actionTcptrace->setText(QApplication::translate(
"TCPStreamDialog",
"Time / Sequence (tcptrace)", 0));
441 #ifndef QT_NO_TOOLTIP 442 actionTcptrace->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Switch to the tcptrace-style Time / Sequence graph", 0));
443 #endif // QT_NO_TOOLTIP 444 actionTcptrace->setShortcut(QApplication::translate(
"TCPStreamDialog",
"4", 0));
445 actionZoomInX->setText(QApplication::translate(
"TCPStreamDialog",
"Zoom In X Axis", 0));
446 #ifndef QT_NO_TOOLTIP 447 actionZoomInX->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Zoom In X Axis", 0));
448 #endif // QT_NO_TOOLTIP 449 actionZoomInX->setShortcut(QApplication::translate(
"TCPStreamDialog",
"X", 0));
450 actionZoomOutX->setText(QApplication::translate(
"TCPStreamDialog",
"Zoom Out X Axis", 0));
451 #ifndef QT_NO_TOOLTIP 452 actionZoomOutX->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Zoom Out X Axis", 0));
453 #endif // QT_NO_TOOLTIP 454 actionZoomOutX->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Shift+X", 0));
455 actionZoomInY->setText(QApplication::translate(
"TCPStreamDialog",
"Zoom In Y Axis", 0));
456 #ifndef QT_NO_TOOLTIP 457 actionZoomInY->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Zoom In Y Axis", 0));
458 #endif // QT_NO_TOOLTIP 459 actionZoomInY->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Y", 0));
460 actionZoomOutY->setText(QApplication::translate(
"TCPStreamDialog",
"Zoom Out Y Axis", 0));
461 #ifndef QT_NO_TOOLTIP 462 actionZoomOutY->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Zoom Out Y Axis", 0));
463 #endif // QT_NO_TOOLTIP 464 actionZoomOutY->setShortcut(QApplication::translate(
"TCPStreamDialog",
"Shift+Y", 0));
465 #ifndef QT_NO_TOOLTIP 466 hintLabel->setToolTip(QApplication::translate(
"TCPStreamDialog",
"<html><head/><body>\n" 468 "<h3>Valuable and amazing time-saving keyboard shortcuts</h3>\n" 471 "<tr><th>+</th><td>Zoom in</td></th>\n" 472 "<tr><th>-</th><td>Zoom out</td></th>\n" 473 "<tr><th>x</th><td>Zoom in X axis</td></th>\n" 474 "<tr><th>X</th><td>Zoom out X axis</td></th>\n" 475 "<tr><th>y</th><td>Zoom in Y axis</td></th>\n" 476 "<tr><th>Y</th><td>Zoom out Y axis</td></th>\n" 477 "<tr><th>0</th><td>Reset graph to its initial state</td></th>\n" 479 "<tr><th>\342\206\222</th><td>Move right 10 pixels</td></th>\n" 480 "<tr><th>\342\206\220</th><td>Move left 10 pixels</td></th>\n" 481 "<tr><th>\342\206\221</th><td>Move up 10 pixels</td></th>\n" 482 "<tr><th>\342\206\223</th><td>Move down 10 pixels</td></th>\n" 483 "<tr><th><i>Shift+</i>\342\206\222</th><td>Move right 1 pixel</td></th>\n" 484 "<tr><th><i>Shift+</i>\342\206\220</th><td>Move left 1 pixel</td></th>\n" 485 "<tr><th><i>Shift+</i>\342\206\221</th><td>Move up 1 pixel</td></th>\n" 486 "<tr><th><i>Shift+</i>\342\206\223</th><td>Move down 1 pixel</td></th>\n" 489 "p</i></th><td>Next stream</td></th>\n" 490 "<tr><th><i>Pg Dn</i></th><td>Previous stream</td></th>\n" 491 "<tr><th>d</th><td>Switch direction (swap TCP endpoints)</td></th>\n" 492 "<tr><th>g</th><td>Go to packet under cursor</td></th>\n" 494 "<tr><th>z</th><td>Toggle mouse drag / zoom</td></th>\n" 495 "<tr><th>s</th><td>Toggle relative / absolute sequence numbers</td></th>\n" 496 "<tr><th>t</th><td>Toggle capture / session time origin</td></th>\n" 497 "<tr><th>Space</th><td>Toggle crosshairs</td></th>\n" 499 "<tr><th>1</th><td>Round Trip Time graph</td></th>\n" 500 "<tr><th>2</th><td>Throughput graph</td></th>\n" 501 "<tr><th>3</th><td>Stevens-style Time / Sequence graph</td></th>\n" 502 "<tr><th>4</th><td>tcptrace-style Time / Sequence graph</td></th>\n" 503 "<tr><th>5</th><td>Window Scaling graph</td></th>\n" 506 "</body></html>", 0));
507 #endif // QT_NO_TOOLTIP 508 hintLabel->setText(QApplication::translate(
"TCPStreamDialog",
"<small><i>Mouse over for shortcuts</i></small>", 0));
509 label->setText(QApplication::translate(
"TCPStreamDialog",
"Type", 0));
510 maWindowSizeLabel->setText(QApplication::translate(
"TCPStreamDialog",
"MA Window (s)", 0));
511 #ifndef QT_NO_TOOLTIP 512 selectSACKsCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Allow SACK segments as well as data packets to be selected by clicking on the graph", 0));
513 #endif // QT_NO_TOOLTIP 514 selectSACKsCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"Select SACKs", 0));
515 streamNumberLabel->setText(QApplication::translate(
"TCPStreamDialog",
"Stream", 0));
516 #ifndef QT_NO_TOOLTIP 517 otherDirectionButton->setToolTip(QApplication::translate(
"TCPStreamDialog",
"<html><head/><body><p>Switch the direction of the connection (view the opposite flow).</p></body></html>", 0));
518 #endif // QT_NO_TOOLTIP 519 otherDirectionButton->setText(QApplication::translate(
"TCPStreamDialog",
"Switch Direction", 0));
520 mouseLabel->setText(QApplication::translate(
"TCPStreamDialog",
"Mouse", 0));
521 #ifndef QT_NO_TOOLTIP 522 dragRadioButton->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Drag using the mouse button.", 0));
523 #endif // QT_NO_TOOLTIP 524 dragRadioButton->setText(QApplication::translate(
"TCPStreamDialog",
"drags", 0));
525 #ifndef QT_NO_TOOLTIP 526 zoomRadioButton->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Select using the mouse button.", 0));
527 #endif // QT_NO_TOOLTIP 528 zoomRadioButton->setText(QApplication::translate(
"TCPStreamDialog",
"zooms", 0));
529 #ifndef QT_NO_TOOLTIP 530 bySeqNumberCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Display Round Trip Time vs Sequence Number", 0));
531 #endif // QT_NO_TOOLTIP 532 bySeqNumberCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"RTT By Sequence Number", 0));
533 #ifndef QT_NO_TOOLTIP 534 showSegLengthCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Display graph of Segment Length vs Time", 0));
535 #endif // QT_NO_TOOLTIP 536 showSegLengthCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"Segment Length", 0));
537 #ifndef QT_NO_TOOLTIP 538 showThroughputCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Display graph of Mean Transmitted Bytes vs Time", 0));
539 #endif // QT_NO_TOOLTIP 540 showThroughputCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"Throughput", 0));
541 #ifndef QT_NO_TOOLTIP 542 showGoodputCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Display graph of Mean ACKed Bytes vs Time", 0));
543 #endif // QT_NO_TOOLTIP 544 showGoodputCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"Goodput", 0));
545 #ifndef QT_NO_TOOLTIP 546 showRcvWinCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Display graph of Receive Window Size vs Time", 0));
547 #endif // QT_NO_TOOLTIP 548 showRcvWinCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"Rcv Win", 0));
549 #ifndef QT_NO_TOOLTIP 550 showBytesOutCheckBox->setToolTip(QApplication::translate(
"TCPStreamDialog",
"Display graph of Outstanding Bytes vs Time", 0));
551 #endif // QT_NO_TOOLTIP 552 showBytesOutCheckBox->setText(QApplication::translate(
"TCPStreamDialog",
"Bytes Out", 0));
553 #ifndef QT_NO_TOOLTIP 554 resetButton->setToolTip(QApplication::translate(
"TCPStreamDialog",
"<html><head/><body><p>Reset the graph to its initial state.</p></body></html>", 0));
555 #endif // QT_NO_TOOLTIP 556 resetButton->setText(QApplication::translate(
"TCPStreamDialog",
"Reset", 0));
567 #endif // UI_TCP_STREAM_DIALOG_H Definition: ui_tcp_stream_dialog.h:562
Definition: ui_about_dialog.h:291
The central class of the library. This is the QWidget which displays the plot and interacts with the ...
Definition: qcustomplot.h:1682
Definition: ui_tcp_stream_dialog.h:33
Definition: tcp_stream_dialog.h:34