9 #ifndef UI_SCTP_ALL_ASSOCS_DIALOG_H 10 #define UI_SCTP_ALL_ASSOCS_DIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QTableWidget> 23 #include <QtWidgets/QVBoxLayout> 31 QAction *actionZoomIn;
32 QAction *actionZoomOut;
33 QAction *actionMoveUp10;
34 QAction *actionMoveLeft10;
35 QAction *actionMoveRight10;
36 QAction *actionMoveDown10;
37 QAction *actionMoveUp1;
38 QAction *actionMoveLeft1;
39 QAction *actionMoveRight1;
40 QAction *actionMoveDown1;
41 QAction *actionNextStream;
42 QAction *actionPreviousStream;
43 QAction *actionSwitchDirection;
44 QAction *actionGoToPacket;
45 QAction *actionDragZoom;
46 QAction *actionToggleSequenceNumbers;
47 QAction *actionToggleTimeOrigin;
48 QAction *actionCrosshairs;
49 QAction *actionRoundTripTime;
50 QAction *actionThroughput;
51 QAction *actionStevens;
52 QAction *actionWindowScaling;
53 QAction *actionTcptrace;
54 QVBoxLayout *verticalLayout;
55 QTableWidget *assocList;
56 QHBoxLayout *horizontalLayout;
57 QHBoxLayout *horizontalLayout_2;
58 QPushButton *setFilterButton;
59 QPushButton *analyseButton;
60 QSpacerItem *horizontalSpacer_2;
61 QDialogButtonBox *buttonBox;
65 if (SCTPAllAssocsDialog->objectName().isEmpty())
66 SCTPAllAssocsDialog->setObjectName(QStringLiteral(
"SCTPAllAssocsDialog"));
67 SCTPAllAssocsDialog->resize(685, 300);
68 actionReset =
new QAction(SCTPAllAssocsDialog);
69 actionReset->setObjectName(QStringLiteral(
"actionReset"));
70 actionZoomIn =
new QAction(SCTPAllAssocsDialog);
71 actionZoomIn->setObjectName(QStringLiteral(
"actionZoomIn"));
72 actionZoomOut =
new QAction(SCTPAllAssocsDialog);
73 actionZoomOut->setObjectName(QStringLiteral(
"actionZoomOut"));
74 actionMoveUp10 =
new QAction(SCTPAllAssocsDialog);
75 actionMoveUp10->setObjectName(QStringLiteral(
"actionMoveUp10"));
76 actionMoveLeft10 =
new QAction(SCTPAllAssocsDialog);
77 actionMoveLeft10->setObjectName(QStringLiteral(
"actionMoveLeft10"));
78 actionMoveRight10 =
new QAction(SCTPAllAssocsDialog);
79 actionMoveRight10->setObjectName(QStringLiteral(
"actionMoveRight10"));
80 actionMoveDown10 =
new QAction(SCTPAllAssocsDialog);
81 actionMoveDown10->setObjectName(QStringLiteral(
"actionMoveDown10"));
82 actionMoveUp1 =
new QAction(SCTPAllAssocsDialog);
83 actionMoveUp1->setObjectName(QStringLiteral(
"actionMoveUp1"));
84 actionMoveLeft1 =
new QAction(SCTPAllAssocsDialog);
85 actionMoveLeft1->setObjectName(QStringLiteral(
"actionMoveLeft1"));
86 actionMoveRight1 =
new QAction(SCTPAllAssocsDialog);
87 actionMoveRight1->setObjectName(QStringLiteral(
"actionMoveRight1"));
88 actionMoveDown1 =
new QAction(SCTPAllAssocsDialog);
89 actionMoveDown1->setObjectName(QStringLiteral(
"actionMoveDown1"));
90 actionNextStream =
new QAction(SCTPAllAssocsDialog);
91 actionNextStream->setObjectName(QStringLiteral(
"actionNextStream"));
92 actionPreviousStream =
new QAction(SCTPAllAssocsDialog);
93 actionPreviousStream->setObjectName(QStringLiteral(
"actionPreviousStream"));
94 actionSwitchDirection =
new QAction(SCTPAllAssocsDialog);
95 actionSwitchDirection->setObjectName(QStringLiteral(
"actionSwitchDirection"));
96 actionGoToPacket =
new QAction(SCTPAllAssocsDialog);
97 actionGoToPacket->setObjectName(QStringLiteral(
"actionGoToPacket"));
98 actionDragZoom =
new QAction(SCTPAllAssocsDialog);
99 actionDragZoom->setObjectName(QStringLiteral(
"actionDragZoom"));
100 actionToggleSequenceNumbers =
new QAction(SCTPAllAssocsDialog);
101 actionToggleSequenceNumbers->setObjectName(QStringLiteral(
"actionToggleSequenceNumbers"));
102 actionToggleTimeOrigin =
new QAction(SCTPAllAssocsDialog);
103 actionToggleTimeOrigin->setObjectName(QStringLiteral(
"actionToggleTimeOrigin"));
104 actionCrosshairs =
new QAction(SCTPAllAssocsDialog);
105 actionCrosshairs->setObjectName(QStringLiteral(
"actionCrosshairs"));
106 actionRoundTripTime =
new QAction(SCTPAllAssocsDialog);
107 actionRoundTripTime->setObjectName(QStringLiteral(
"actionRoundTripTime"));
108 actionThroughput =
new QAction(SCTPAllAssocsDialog);
109 actionThroughput->setObjectName(QStringLiteral(
"actionThroughput"));
110 actionStevens =
new QAction(SCTPAllAssocsDialog);
111 actionStevens->setObjectName(QStringLiteral(
"actionStevens"));
112 actionWindowScaling =
new QAction(SCTPAllAssocsDialog);
113 actionWindowScaling->setObjectName(QStringLiteral(
"actionWindowScaling"));
114 actionTcptrace =
new QAction(SCTPAllAssocsDialog);
115 actionTcptrace->setObjectName(QStringLiteral(
"actionTcptrace"));
116 verticalLayout =
new QVBoxLayout(SCTPAllAssocsDialog);
117 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
118 assocList =
new QTableWidget(SCTPAllAssocsDialog);
119 if (assocList->columnCount() < 6)
120 assocList->setColumnCount(6);
121 QTableWidgetItem *__qtablewidgetitem =
new QTableWidgetItem();
122 assocList->setHorizontalHeaderItem(0, __qtablewidgetitem);
123 QTableWidgetItem *__qtablewidgetitem1 =
new QTableWidgetItem();
124 assocList->setHorizontalHeaderItem(1, __qtablewidgetitem1);
125 QTableWidgetItem *__qtablewidgetitem2 =
new QTableWidgetItem();
126 assocList->setHorizontalHeaderItem(2, __qtablewidgetitem2);
127 QTableWidgetItem *__qtablewidgetitem3 =
new QTableWidgetItem();
128 assocList->setHorizontalHeaderItem(3, __qtablewidgetitem3);
129 QTableWidgetItem *__qtablewidgetitem4 =
new QTableWidgetItem();
130 assocList->setHorizontalHeaderItem(4, __qtablewidgetitem4);
131 QTableWidgetItem *__qtablewidgetitem5 =
new QTableWidgetItem();
132 assocList->setHorizontalHeaderItem(5, __qtablewidgetitem5);
133 if (assocList->rowCount() < 2)
134 assocList->setRowCount(2);
135 assocList->setObjectName(QStringLiteral(
"assocList"));
136 assocList->setEditTriggers(QAbstractItemView::NoEditTriggers);
137 assocList->setProperty(
"showDropIndicator", QVariant(
false));
138 assocList->setDragDropOverwriteMode(
false);
139 assocList->setAlternatingRowColors(
true);
140 assocList->setSelectionMode(QAbstractItemView::SingleSelection);
141 assocList->setSelectionBehavior(QAbstractItemView::SelectRows);
142 assocList->setSortingEnabled(
true);
143 assocList->setWordWrap(
false);
144 assocList->setRowCount(2);
145 assocList->setColumnCount(6);
146 assocList->horizontalHeader()->setDefaultSectionSize(120);
147 assocList->horizontalHeader()->setMinimumSectionSize(50);
148 assocList->horizontalHeader()->setStretchLastSection(
true);
150 verticalLayout->addWidget(assocList);
152 horizontalLayout =
new QHBoxLayout();
153 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
155 verticalLayout->addLayout(horizontalLayout);
157 horizontalLayout_2 =
new QHBoxLayout();
158 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
159 setFilterButton =
new QPushButton(SCTPAllAssocsDialog);
160 setFilterButton->setObjectName(QStringLiteral(
"setFilterButton"));
161 setFilterButton->setEnabled(
false);
162 setFilterButton->setFocusPolicy(Qt::ClickFocus);
164 horizontalLayout_2->addWidget(setFilterButton);
166 analyseButton =
new QPushButton(SCTPAllAssocsDialog);
167 analyseButton->setObjectName(QStringLiteral(
"analyseButton"));
168 analyseButton->setEnabled(
false);
169 analyseButton->setFocusPolicy(Qt::ClickFocus);
171 horizontalLayout_2->addWidget(analyseButton);
173 horizontalSpacer_2 =
new QSpacerItem(10, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
175 horizontalLayout_2->addItem(horizontalSpacer_2);
177 buttonBox =
new QDialogButtonBox(SCTPAllAssocsDialog);
178 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
179 buttonBox->setOrientation(Qt::Horizontal);
180 buttonBox->setStandardButtons(QDialogButtonBox::Close);
182 horizontalLayout_2->addWidget(buttonBox);
185 verticalLayout->addLayout(horizontalLayout_2);
188 retranslateUi(SCTPAllAssocsDialog);
189 QObject::connect(buttonBox, SIGNAL(clicked(QAbstractButton*)), SCTPAllAssocsDialog, SLOT(close()));
191 QMetaObject::connectSlotsByName(SCTPAllAssocsDialog);
194 void retranslateUi(QDialog *SCTPAllAssocsDialog)
196 SCTPAllAssocsDialog->setWindowTitle(QApplication::translate(
"SCTPAllAssocsDialog",
"Wireshark - SCTP Associations", 0));
197 actionReset->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Reset Graph", 0));
198 #ifndef QT_NO_TOOLTIP 199 actionReset->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Reset the graph to its initial state.", 0));
200 #endif // QT_NO_TOOLTIP 201 actionReset->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"0", 0));
202 actionZoomIn->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Zoom In", 0));
203 #ifndef QT_NO_TOOLTIP 204 actionZoomIn->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Zoom In", 0));
205 #endif // QT_NO_TOOLTIP 206 actionZoomIn->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"+", 0));
207 actionZoomOut->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Zoom Out", 0));
208 #ifndef QT_NO_TOOLTIP 209 actionZoomOut->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Zoom Out", 0));
210 #endif // QT_NO_TOOLTIP 211 actionZoomOut->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"-", 0));
212 actionMoveUp10->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Up 10 Pixels", 0));
213 #ifndef QT_NO_TOOLTIP 214 actionMoveUp10->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Up 10 Pixels", 0));
215 #endif // QT_NO_TOOLTIP 216 actionMoveUp10->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Up", 0));
217 actionMoveLeft10->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Left 10 Pixels", 0));
218 #ifndef QT_NO_TOOLTIP 219 actionMoveLeft10->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Left 10 Pixels", 0));
220 #endif // QT_NO_TOOLTIP 221 actionMoveLeft10->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Left", 0));
222 actionMoveRight10->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Right 10 Pixels", 0));
223 #ifndef QT_NO_TOOLTIP 224 actionMoveRight10->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Right 10 Pixels", 0));
225 #endif // QT_NO_TOOLTIP 226 actionMoveRight10->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Right", 0));
227 actionMoveDown10->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Down 10 Pixels", 0));
228 #ifndef QT_NO_TOOLTIP 229 actionMoveDown10->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Down 10 Pixels", 0));
230 #endif // QT_NO_TOOLTIP 231 actionMoveDown10->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Down", 0));
232 actionMoveUp1->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Up 1 Pixel", 0));
233 #ifndef QT_NO_TOOLTIP 234 actionMoveUp1->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Up 1 Pixel", 0));
235 #endif // QT_NO_TOOLTIP 236 actionMoveUp1->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Shift+Up", 0));
237 actionMoveLeft1->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Left 1 Pixel", 0));
238 #ifndef QT_NO_TOOLTIP 239 actionMoveLeft1->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Left 1 Pixel", 0));
240 #endif // QT_NO_TOOLTIP 241 actionMoveLeft1->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Shift+Left", 0));
242 actionMoveRight1->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Right 1 Pixel", 0));
243 #ifndef QT_NO_TOOLTIP 244 actionMoveRight1->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Right 1 Pixel", 0));
245 #endif // QT_NO_TOOLTIP 246 actionMoveRight1->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Shift+Right", 0));
247 actionMoveDown1->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Down 1 Pixel", 0));
248 #ifndef QT_NO_TOOLTIP 249 actionMoveDown1->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Move Down 1 Pixel", 0));
250 #endif // QT_NO_TOOLTIP 251 actionMoveDown1->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Shift+Down", 0));
252 actionNextStream->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Next Stream", 0));
253 #ifndef QT_NO_TOOLTIP 254 actionNextStream->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Go to the next stream in the capture", 0));
255 #endif // QT_NO_TOOLTIP 256 actionNextStream->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"PgUp", 0));
257 actionPreviousStream->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Previous Stream", 0));
258 #ifndef QT_NO_TOOLTIP 259 actionPreviousStream->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Go to the previous stream in the capture", 0));
260 #endif // QT_NO_TOOLTIP 261 actionPreviousStream->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"PgDown", 0));
262 actionSwitchDirection->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch Direction", 0));
263 #ifndef QT_NO_TOOLTIP 264 actionSwitchDirection->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch direction (swap TCP endpoints)", 0));
265 #endif // QT_NO_TOOLTIP 266 actionSwitchDirection->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"D", 0));
267 actionGoToPacket->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Go To Packet Under Cursor", 0));
268 #ifndef QT_NO_TOOLTIP 269 actionGoToPacket->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Go to packet currently under the cursor", 0));
270 #endif // QT_NO_TOOLTIP 271 actionGoToPacket->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"G", 0));
272 actionDragZoom->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Drag / Zoom", 0));
273 #ifndef QT_NO_TOOLTIP 274 actionDragZoom->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Toggle mouse drag / zoom behavior", 0));
275 #endif // QT_NO_TOOLTIP 276 actionDragZoom->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Z", 0));
277 actionToggleSequenceNumbers->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Relative / Absolute Sequence Numbers", 0));
278 #ifndef QT_NO_TOOLTIP 279 actionToggleSequenceNumbers->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Toggle relative / absolute sequence numbers", 0));
280 #endif // QT_NO_TOOLTIP 281 actionToggleSequenceNumbers->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"S", 0));
282 actionToggleTimeOrigin->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Capture / Session Time Origin", 0));
283 #ifndef QT_NO_TOOLTIP 284 actionToggleTimeOrigin->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Toggle capture / session time origin", 0));
285 #endif // QT_NO_TOOLTIP 286 actionToggleTimeOrigin->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"T", 0));
287 actionCrosshairs->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Crosshairs", 0));
288 #ifndef QT_NO_TOOLTIP 289 actionCrosshairs->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Toggle crosshairs", 0));
290 #endif // QT_NO_TOOLTIP 291 actionCrosshairs->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"Space", 0));
292 actionRoundTripTime->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Round Trip Time", 0));
293 #ifndef QT_NO_TOOLTIP 294 actionRoundTripTime->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch to the Round Trip Time graph", 0));
295 #endif // QT_NO_TOOLTIP 296 actionRoundTripTime->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"1", 0));
297 actionThroughput->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Throughput", 0));
298 #ifndef QT_NO_TOOLTIP 299 actionThroughput->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch to the Throughput graph", 0));
300 #endif // QT_NO_TOOLTIP 301 actionThroughput->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"2", 0));
302 actionStevens->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Time / Sequence (Stevens)", 0));
303 #ifndef QT_NO_TOOLTIP 304 actionStevens->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch to the Stevens-style Time / Sequence graph", 0));
305 #endif // QT_NO_TOOLTIP 306 actionStevens->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"3", 0));
307 actionWindowScaling->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Window Scaling", 0));
308 #ifndef QT_NO_TOOLTIP 309 actionWindowScaling->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch to the Window Scaling graph", 0));
310 #endif // QT_NO_TOOLTIP 311 actionWindowScaling->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"5", 0));
312 actionTcptrace->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Time / Sequence (tcptrace)", 0));
313 #ifndef QT_NO_TOOLTIP 314 actionTcptrace->setToolTip(QApplication::translate(
"SCTPAllAssocsDialog",
"Switch to the tcptrace-style Time / Sequence graph", 0));
315 #endif // QT_NO_TOOLTIP 316 actionTcptrace->setShortcut(QApplication::translate(
"SCTPAllAssocsDialog",
"4", 0));
317 QTableWidgetItem *___qtablewidgetitem = assocList->horizontalHeaderItem(0);
318 ___qtablewidgetitem->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"ID", 0));
319 QTableWidgetItem *___qtablewidgetitem1 = assocList->horizontalHeaderItem(1);
320 ___qtablewidgetitem1->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Port 1", 0));
321 QTableWidgetItem *___qtablewidgetitem2 = assocList->horizontalHeaderItem(2);
322 ___qtablewidgetitem2->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Port 2", 0));
323 QTableWidgetItem *___qtablewidgetitem3 = assocList->horizontalHeaderItem(3);
324 ___qtablewidgetitem3->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Number of Packets", 0));
325 QTableWidgetItem *___qtablewidgetitem4 = assocList->horizontalHeaderItem(4);
326 ___qtablewidgetitem4->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Number of DATA Chunks", 0));
327 QTableWidgetItem *___qtablewidgetitem5 = assocList->horizontalHeaderItem(5);
328 ___qtablewidgetitem5->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Number of Bytes", 0));
329 setFilterButton->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Filter Selected Association", 0));
330 analyseButton->setText(QApplication::translate(
"SCTPAllAssocsDialog",
"Analyze", 0));
341 #endif // UI_SCTP_ALL_ASSOCS_DIALOG_H Definition: ui_sctp_all_assocs_dialog.h:336
Definition: ui_about_dialog.h:291
Definition: ui_sctp_all_assocs_dialog.h:27
Definition: sctp_all_assocs_dialog.h:30