Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
ui_sequence_dialog.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'sequence_dialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.5.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_SEQUENCE_DIALOG_H
10 #define UI_SEQUENCE_DIALOG_H
11 
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/QFrame>
21 #include <QtWidgets/QGridLayout>
22 #include <QtWidgets/QHBoxLayout>
23 #include <QtWidgets/QHeaderView>
24 #include <QtWidgets/QLabel>
25 #include <QtWidgets/QPushButton>
26 #include <QtWidgets/QScrollBar>
27 #include <QtWidgets/QSpacerItem>
28 #include <QtWidgets/QVBoxLayout>
29 #include "widgets/elided_label.h"
30 #include "widgets/qcustomplot.h"
31 
32 QT_BEGIN_NAMESPACE
33 
35 {
36 public:
37  QAction *actionReset;
38  QAction *actionZoomIn;
39  QAction *actionZoomOut;
40  QAction *actionMoveUp10;
41  QAction *actionMoveLeft10;
42  QAction *actionMoveRight10;
43  QAction *actionMoveDown10;
44  QAction *actionMoveUp1;
45  QAction *actionMoveLeft1;
46  QAction *actionMoveRight1;
47  QAction *actionMoveDown1;
48  QAction *actionGoToPacket;
49  QAction *actionFlowAny;
50  QAction *actionFlowTcp;
51  QAction *actionGoToNextPacket;
52  QAction *actionGoToPreviousPacket;
53  QVBoxLayout *verticalLayout_2;
54  QGridLayout *gridLayout;
55  QCustomPlot *sequencePlot;
56  QScrollBar *verticalScrollBar;
57  QScrollBar *horizontalScrollBar;
58  QFrame *frame;
59  ElidedLabel *hintLabel;
60  QFrame *controlFrame;
61  QVBoxLayout *verticalLayout;
62  QHBoxLayout *horizontalLayout_2;
63  QCheckBox *displayFilterCheckBox;
64  QSpacerItem *horizontalSpacer;
65  QLabel *flowLabel;
66  QComboBox *flowComboBox;
67  QSpacerItem *horizontalSpacer_2;
68  QLabel *label_3;
69  QComboBox *addressComboBox;
70  QHBoxLayout *horizontalLayout;
71  QSpacerItem *horizontalSpacer_3;
72  QPushButton *resetButton;
73  QDialogButtonBox *buttonBox;
74 
75  void setupUi(QDialog *SequenceDialog)
76  {
77  if (SequenceDialog->objectName().isEmpty())
78  SequenceDialog->setObjectName(QStringLiteral("SequenceDialog"));
79  SequenceDialog->resize(679, 568);
80  actionReset = new QAction(SequenceDialog);
81  actionReset->setObjectName(QStringLiteral("actionReset"));
82  actionZoomIn = new QAction(SequenceDialog);
83  actionZoomIn->setObjectName(QStringLiteral("actionZoomIn"));
84  actionZoomOut = new QAction(SequenceDialog);
85  actionZoomOut->setObjectName(QStringLiteral("actionZoomOut"));
86  actionMoveUp10 = new QAction(SequenceDialog);
87  actionMoveUp10->setObjectName(QStringLiteral("actionMoveUp10"));
88  actionMoveLeft10 = new QAction(SequenceDialog);
89  actionMoveLeft10->setObjectName(QStringLiteral("actionMoveLeft10"));
90  actionMoveRight10 = new QAction(SequenceDialog);
91  actionMoveRight10->setObjectName(QStringLiteral("actionMoveRight10"));
92  actionMoveDown10 = new QAction(SequenceDialog);
93  actionMoveDown10->setObjectName(QStringLiteral("actionMoveDown10"));
94  actionMoveUp1 = new QAction(SequenceDialog);
95  actionMoveUp1->setObjectName(QStringLiteral("actionMoveUp1"));
96  actionMoveLeft1 = new QAction(SequenceDialog);
97  actionMoveLeft1->setObjectName(QStringLiteral("actionMoveLeft1"));
98  actionMoveRight1 = new QAction(SequenceDialog);
99  actionMoveRight1->setObjectName(QStringLiteral("actionMoveRight1"));
100  actionMoveDown1 = new QAction(SequenceDialog);
101  actionMoveDown1->setObjectName(QStringLiteral("actionMoveDown1"));
102  actionGoToPacket = new QAction(SequenceDialog);
103  actionGoToPacket->setObjectName(QStringLiteral("actionGoToPacket"));
104  actionFlowAny = new QAction(SequenceDialog);
105  actionFlowAny->setObjectName(QStringLiteral("actionFlowAny"));
106  actionFlowTcp = new QAction(SequenceDialog);
107  actionFlowTcp->setObjectName(QStringLiteral("actionFlowTcp"));
108  actionGoToNextPacket = new QAction(SequenceDialog);
109  actionGoToNextPacket->setObjectName(QStringLiteral("actionGoToNextPacket"));
110  actionGoToPreviousPacket = new QAction(SequenceDialog);
111  actionGoToPreviousPacket->setObjectName(QStringLiteral("actionGoToPreviousPacket"));
112  verticalLayout_2 = new QVBoxLayout(SequenceDialog);
113  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
114  gridLayout = new QGridLayout();
115  gridLayout->setObjectName(QStringLiteral("gridLayout"));
116  sequencePlot = new QCustomPlot(SequenceDialog);
117  sequencePlot->setObjectName(QStringLiteral("sequencePlot"));
118  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
119  sizePolicy.setHorizontalStretch(0);
120  sizePolicy.setVerticalStretch(1);
121  sizePolicy.setHeightForWidth(sequencePlot->sizePolicy().hasHeightForWidth());
122  sequencePlot->setSizePolicy(sizePolicy);
123 
124  gridLayout->addWidget(sequencePlot, 0, 0, 1, 1);
125 
126  verticalScrollBar = new QScrollBar(SequenceDialog);
127  verticalScrollBar->setObjectName(QStringLiteral("verticalScrollBar"));
128  verticalScrollBar->setOrientation(Qt::Vertical);
129 
130  gridLayout->addWidget(verticalScrollBar, 0, 1, 1, 1);
131 
132  horizontalScrollBar = new QScrollBar(SequenceDialog);
133  horizontalScrollBar->setObjectName(QStringLiteral("horizontalScrollBar"));
134  horizontalScrollBar->setOrientation(Qt::Horizontal);
135 
136  gridLayout->addWidget(horizontalScrollBar, 1, 0, 1, 1);
137 
138  frame = new QFrame(SequenceDialog);
139  frame->setObjectName(QStringLiteral("frame"));
140 
141  gridLayout->addWidget(frame, 1, 1, 1, 1);
142 
143 
144  verticalLayout_2->addLayout(gridLayout);
145 
146  hintLabel = new ElidedLabel(SequenceDialog);
147  hintLabel->setObjectName(QStringLiteral("hintLabel"));
148 
149  verticalLayout_2->addWidget(hintLabel);
150 
151  controlFrame = new QFrame(SequenceDialog);
152  controlFrame->setObjectName(QStringLiteral("controlFrame"));
153  controlFrame->setFrameShape(QFrame::NoFrame);
154  controlFrame->setFrameShadow(QFrame::Plain);
155  controlFrame->setLineWidth(0);
156  verticalLayout = new QVBoxLayout(controlFrame);
157  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
158  verticalLayout->setContentsMargins(0, 0, 0, 0);
159  horizontalLayout_2 = new QHBoxLayout();
160  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
161  displayFilterCheckBox = new QCheckBox(controlFrame);
162  displayFilterCheckBox->setObjectName(QStringLiteral("displayFilterCheckBox"));
163 
164  horizontalLayout_2->addWidget(displayFilterCheckBox);
165 
166  horizontalSpacer = new QSpacerItem(13, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
167 
168  horizontalLayout_2->addItem(horizontalSpacer);
169 
170  flowLabel = new QLabel(controlFrame);
171  flowLabel->setObjectName(QStringLiteral("flowLabel"));
172 
173  horizontalLayout_2->addWidget(flowLabel);
174 
175  flowComboBox = new QComboBox(controlFrame);
176  flowComboBox->setObjectName(QStringLiteral("flowComboBox"));
177 
178  horizontalLayout_2->addWidget(flowComboBox);
179 
180  horizontalSpacer_2 = new QSpacerItem(13, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
181 
182  horizontalLayout_2->addItem(horizontalSpacer_2);
183 
184  label_3 = new QLabel(controlFrame);
185  label_3->setObjectName(QStringLiteral("label_3"));
186 
187  horizontalLayout_2->addWidget(label_3);
188 
189  addressComboBox = new QComboBox(controlFrame);
190  addressComboBox->setObjectName(QStringLiteral("addressComboBox"));
191 
192  horizontalLayout_2->addWidget(addressComboBox);
193 
194 
195  verticalLayout->addLayout(horizontalLayout_2);
196 
197  horizontalLayout = new QHBoxLayout();
198  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
199  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
200 
201  horizontalLayout->addItem(horizontalSpacer_3);
202 
203  resetButton = new QPushButton(controlFrame);
204  resetButton->setObjectName(QStringLiteral("resetButton"));
205 
206  horizontalLayout->addWidget(resetButton);
207 
208 
209  verticalLayout->addLayout(horizontalLayout);
210 
211 
212  verticalLayout_2->addWidget(controlFrame);
213 
214  buttonBox = new QDialogButtonBox(SequenceDialog);
215  buttonBox->setObjectName(QStringLiteral("buttonBox"));
216  buttonBox->setOrientation(Qt::Horizontal);
217  buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Save);
218 
219  verticalLayout_2->addWidget(buttonBox);
220 
221  verticalLayout_2->setStretch(0, 1);
222 
223  retranslateUi(SequenceDialog);
224  QObject::connect(buttonBox, SIGNAL(accepted()), SequenceDialog, SLOT(accept()));
225  QObject::connect(buttonBox, SIGNAL(rejected()), SequenceDialog, SLOT(reject()));
226 
227  QMetaObject::connectSlotsByName(SequenceDialog);
228  } // setupUi
229 
230  void retranslateUi(QDialog *SequenceDialog)
231  {
232  actionReset->setText(QApplication::translate("SequenceDialog", "Reset Diagram", 0));
233 #ifndef QT_NO_TOOLTIP
234  actionReset->setToolTip(QApplication::translate("SequenceDialog", "Reset the diagram to its initial state.", 0));
235 #endif // QT_NO_TOOLTIP
236  actionReset->setShortcut(QApplication::translate("SequenceDialog", "0", 0));
237  actionZoomIn->setText(QApplication::translate("SequenceDialog", "Zoom In", 0));
238 #ifndef QT_NO_TOOLTIP
239  actionZoomIn->setToolTip(QApplication::translate("SequenceDialog", "Zoom In", 0));
240 #endif // QT_NO_TOOLTIP
241  actionZoomIn->setShortcut(QApplication::translate("SequenceDialog", "+", 0));
242  actionZoomOut->setText(QApplication::translate("SequenceDialog", "Zoom Out", 0));
243 #ifndef QT_NO_TOOLTIP
244  actionZoomOut->setToolTip(QApplication::translate("SequenceDialog", "Zoom Out", 0));
245 #endif // QT_NO_TOOLTIP
246  actionZoomOut->setShortcut(QApplication::translate("SequenceDialog", "-", 0));
247  actionMoveUp10->setText(QApplication::translate("SequenceDialog", "Move Up 10 Pixels", 0));
248 #ifndef QT_NO_TOOLTIP
249  actionMoveUp10->setToolTip(QApplication::translate("SequenceDialog", "Move Up 10 Pixels", 0));
250 #endif // QT_NO_TOOLTIP
251  actionMoveUp10->setShortcut(QApplication::translate("SequenceDialog", "Up", 0));
252  actionMoveLeft10->setText(QApplication::translate("SequenceDialog", "Move Left 10 Pixels", 0));
253 #ifndef QT_NO_TOOLTIP
254  actionMoveLeft10->setToolTip(QApplication::translate("SequenceDialog", "Move Left 10 Pixels", 0));
255 #endif // QT_NO_TOOLTIP
256  actionMoveLeft10->setShortcut(QApplication::translate("SequenceDialog", "Left", 0));
257  actionMoveRight10->setText(QApplication::translate("SequenceDialog", "Move Right 10 Pixels", 0));
258 #ifndef QT_NO_TOOLTIP
259  actionMoveRight10->setToolTip(QApplication::translate("SequenceDialog", "Move Right 10 Pixels", 0));
260 #endif // QT_NO_TOOLTIP
261  actionMoveRight10->setShortcut(QApplication::translate("SequenceDialog", "Right", 0));
262  actionMoveDown10->setText(QApplication::translate("SequenceDialog", "Move Down 10 Pixels", 0));
263 #ifndef QT_NO_TOOLTIP
264  actionMoveDown10->setToolTip(QApplication::translate("SequenceDialog", "Move Down 10 Pixels", 0));
265 #endif // QT_NO_TOOLTIP
266  actionMoveDown10->setShortcut(QApplication::translate("SequenceDialog", "Down", 0));
267  actionMoveUp1->setText(QApplication::translate("SequenceDialog", "Move Up 1 Pixel", 0));
268 #ifndef QT_NO_TOOLTIP
269  actionMoveUp1->setToolTip(QApplication::translate("SequenceDialog", "Move Up 1 Pixel", 0));
270 #endif // QT_NO_TOOLTIP
271  actionMoveUp1->setShortcut(QApplication::translate("SequenceDialog", "Shift+Up", 0));
272  actionMoveLeft1->setText(QApplication::translate("SequenceDialog", "Move Left 1 Pixel", 0));
273 #ifndef QT_NO_TOOLTIP
274  actionMoveLeft1->setToolTip(QApplication::translate("SequenceDialog", "Move Left 1 Pixel", 0));
275 #endif // QT_NO_TOOLTIP
276  actionMoveLeft1->setShortcut(QApplication::translate("SequenceDialog", "Shift+Left", 0));
277  actionMoveRight1->setText(QApplication::translate("SequenceDialog", "Move Right 1 Pixel", 0));
278 #ifndef QT_NO_TOOLTIP
279  actionMoveRight1->setToolTip(QApplication::translate("SequenceDialog", "Move Right 1 Pixel", 0));
280 #endif // QT_NO_TOOLTIP
281  actionMoveRight1->setShortcut(QApplication::translate("SequenceDialog", "Shift+Right", 0));
282  actionMoveDown1->setText(QApplication::translate("SequenceDialog", "Move Down 1 Pixel", 0));
283 #ifndef QT_NO_TOOLTIP
284  actionMoveDown1->setToolTip(QApplication::translate("SequenceDialog", "Move Down 1 Pixel", 0));
285 #endif // QT_NO_TOOLTIP
286  actionMoveDown1->setShortcut(QApplication::translate("SequenceDialog", "Shift+Down", 0));
287  actionGoToPacket->setText(QApplication::translate("SequenceDialog", "Go To Packet Under Cursor", 0));
288 #ifndef QT_NO_TOOLTIP
289  actionGoToPacket->setToolTip(QApplication::translate("SequenceDialog", "Go to packet currently under the cursor", 0));
290 #endif // QT_NO_TOOLTIP
291  actionGoToPacket->setShortcut(QApplication::translate("SequenceDialog", "G", 0));
292  actionFlowAny->setText(QApplication::translate("SequenceDialog", "All Flows", 0));
293 #ifndef QT_NO_TOOLTIP
294  actionFlowAny->setToolTip(QApplication::translate("SequenceDialog", "Show flows for all packets", 0));
295 #endif // QT_NO_TOOLTIP
296  actionFlowAny->setShortcut(QApplication::translate("SequenceDialog", "1", 0));
297  actionFlowTcp->setText(QApplication::translate("SequenceDialog", "TCP Flows", 0));
298 #ifndef QT_NO_TOOLTIP
299  actionFlowTcp->setToolTip(QApplication::translate("SequenceDialog", "Show only TCP flow information", 0));
300 #endif // QT_NO_TOOLTIP
301  actionFlowTcp->setShortcut(QApplication::translate("SequenceDialog", "1", 0));
302  actionGoToNextPacket->setText(QApplication::translate("SequenceDialog", "Go To Next Packet", 0));
303 #ifndef QT_NO_TOOLTIP
304  actionGoToNextPacket->setToolTip(QApplication::translate("SequenceDialog", "Go to the next packet", 0));
305 #endif // QT_NO_TOOLTIP
306  actionGoToNextPacket->setShortcut(QApplication::translate("SequenceDialog", "N", 0));
307  actionGoToPreviousPacket->setText(QApplication::translate("SequenceDialog", "Go To Previous Packet", 0));
308 #ifndef QT_NO_TOOLTIP
309  actionGoToPreviousPacket->setToolTip(QApplication::translate("SequenceDialog", "Go to the previous packet", 0));
310 #endif // QT_NO_TOOLTIP
311  actionGoToPreviousPacket->setShortcut(QApplication::translate("SequenceDialog", "P", 0));
312 #ifndef QT_NO_TOOLTIP
313  hintLabel->setToolTip(QApplication::translate("SequenceDialog", "<html><head/><body>\n"
314 "\n"
315 "<h3>Valuable and amazing time-saving keyboard shortcuts</h3>\n"
316 "<table><tbody>\n"
317 "\n"
318 "<tr><th>+</th><td>Zoom in</td></th>\n"
319 "<tr><th>-</th><td>Zoom out</td></th>\n"
320 "<tr><th>0</th><td>Reset graph to its initial state</td></th>\n"
321 "\n"
322 "<tr><th>\342\206\222</th><td>Move right 10 pixels</td></th>\n"
323 "<tr><th>\342\206\220</th><td>Move left 10 pixels</td></th>\n"
324 "<tr><th>\342\206\221</th><td>Move up 10 pixels</td></th>\n"
325 "<tr><th>\342\206\223</th><td>Move down 10 pixels</td></th>\n"
326 "<tr><th><i>Shift+</i>\342\206\222</th><td>Move right 1 pixel</td></th>\n"
327 "<tr><th><i>Shift+</i>\342\206\220</th><td>Move left 1 pixel</td></th>\n"
328 "<tr><th><i>Shift+</i>\342\206\221</th><td>Move up 1 pixel</td></th>\n"
329 "<tr><th><i>Shift+</i>\342\206\223</th><td>Move down 1 pixel</td></th>\n"
330 "\n"
331 "<tr><th>g</th><td>Go to packet under cursor</td></th>\n"
332 "<tr><th>n</th><td>Go to the next packet</td></th>\n"
333 "<tr><th>p</th><td>Go to the previous packet</td></th>\n"
334 "\n"
335 "</tbody></table>\n"
336 "</body></"
337  "html>", 0));
338 #endif // QT_NO_TOOLTIP
339  hintLabel->setText(QApplication::translate("SequenceDialog", "<small><i>A hint</i></small>", 0));
340 #ifndef QT_NO_TOOLTIP
341  displayFilterCheckBox->setToolTip(QApplication::translate("SequenceDialog", "<html><head/><body><p>Only show flows matching the current display filter</p></body></html>", 0));
342 #endif // QT_NO_TOOLTIP
343  displayFilterCheckBox->setText(QApplication::translate("SequenceDialog", "Limit to display filter", 0));
344  flowLabel->setText(QApplication::translate("SequenceDialog", "Flow type:", 0));
345  label_3->setText(QApplication::translate("SequenceDialog", "Addresses:", 0));
346  addressComboBox->clear();
347  addressComboBox->insertItems(0, QStringList()
348  << QApplication::translate("SequenceDialog", "Any", 0)
349  << QApplication::translate("SequenceDialog", "Network", 0)
350  );
351  resetButton->setText(QApplication::translate("SequenceDialog", "Reset", 0));
352  Q_UNUSED(SequenceDialog);
353  } // retranslateUi
354 
355 };
356 
357 namespace Ui {
359 } // namespace Ui
360 
361 QT_END_NAMESPACE
362 
363 #endif // UI_SEQUENCE_DIALOG_H
Definition: sequence_dialog.h:46
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_sequence_dialog.h:358
Definition: ui_sequence_dialog.h:34
Definition: elided_label.h:15