9 #ifndef UI_LTE_RLC_GRAPH_DIALOG_H 10 #define UI_LTE_RLC_GRAPH_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/QLabel> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QRadioButton> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QVBoxLayout> 33 QAction *actionZoomIn;
34 QAction *actionZoomOut;
35 QAction *actionMoveUp10;
36 QAction *actionMoveLeft10;
37 QAction *actionMoveRight10;
38 QAction *actionMoveDown10;
39 QAction *actionMoveUp1;
40 QAction *actionMoveLeft1;
41 QAction *actionMoveRight1;
42 QAction *actionMoveDown1;
43 QAction *actionDragZoom;
44 QAction *actionCrosshairs;
45 QAction *actionMoveUp100;
46 QAction *actionMoveDown100;
47 QAction *actionGoToPacket;
48 QAction *actionZoomInX;
49 QAction *actionZoomOutY;
50 QAction *actionZoomInY;
51 QAction *actionZoomOutX;
52 QAction *actionSwitchDirection;
53 QVBoxLayout *verticalLayout;
56 QHBoxLayout *horizontalLayout_2;
58 QRadioButton *dragRadioButton;
59 QRadioButton *zoomRadioButton;
60 QSpacerItem *horizontalSpacer_2;
61 QPushButton *resetButton;
62 QPushButton *otherDirectionButton;
63 QDialogButtonBox *buttonBox;
67 if (LteRlcGraphDialog->objectName().isEmpty())
68 LteRlcGraphDialog->setObjectName(QStringLiteral(
"LteRlcGraphDialog"));
69 LteRlcGraphDialog->resize(660, 447);
70 actionReset =
new QAction(LteRlcGraphDialog);
71 actionReset->setObjectName(QStringLiteral(
"actionReset"));
72 actionZoomIn =
new QAction(LteRlcGraphDialog);
73 actionZoomIn->setObjectName(QStringLiteral(
"actionZoomIn"));
74 actionZoomOut =
new QAction(LteRlcGraphDialog);
75 actionZoomOut->setObjectName(QStringLiteral(
"actionZoomOut"));
76 actionMoveUp10 =
new QAction(LteRlcGraphDialog);
77 actionMoveUp10->setObjectName(QStringLiteral(
"actionMoveUp10"));
78 actionMoveLeft10 =
new QAction(LteRlcGraphDialog);
79 actionMoveLeft10->setObjectName(QStringLiteral(
"actionMoveLeft10"));
80 actionMoveRight10 =
new QAction(LteRlcGraphDialog);
81 actionMoveRight10->setObjectName(QStringLiteral(
"actionMoveRight10"));
82 actionMoveDown10 =
new QAction(LteRlcGraphDialog);
83 actionMoveDown10->setObjectName(QStringLiteral(
"actionMoveDown10"));
84 actionMoveUp1 =
new QAction(LteRlcGraphDialog);
85 actionMoveUp1->setObjectName(QStringLiteral(
"actionMoveUp1"));
86 actionMoveLeft1 =
new QAction(LteRlcGraphDialog);
87 actionMoveLeft1->setObjectName(QStringLiteral(
"actionMoveLeft1"));
88 actionMoveRight1 =
new QAction(LteRlcGraphDialog);
89 actionMoveRight1->setObjectName(QStringLiteral(
"actionMoveRight1"));
90 actionMoveDown1 =
new QAction(LteRlcGraphDialog);
91 actionMoveDown1->setObjectName(QStringLiteral(
"actionMoveDown1"));
92 actionDragZoom =
new QAction(LteRlcGraphDialog);
93 actionDragZoom->setObjectName(QStringLiteral(
"actionDragZoom"));
94 actionCrosshairs =
new QAction(LteRlcGraphDialog);
95 actionCrosshairs->setObjectName(QStringLiteral(
"actionCrosshairs"));
96 actionMoveUp100 =
new QAction(LteRlcGraphDialog);
97 actionMoveUp100->setObjectName(QStringLiteral(
"actionMoveUp100"));
98 actionMoveDown100 =
new QAction(LteRlcGraphDialog);
99 actionMoveDown100->setObjectName(QStringLiteral(
"actionMoveDown100"));
100 actionGoToPacket =
new QAction(LteRlcGraphDialog);
101 actionGoToPacket->setObjectName(QStringLiteral(
"actionGoToPacket"));
102 actionZoomInX =
new QAction(LteRlcGraphDialog);
103 actionZoomInX->setObjectName(QStringLiteral(
"actionZoomInX"));
104 actionZoomOutY =
new QAction(LteRlcGraphDialog);
105 actionZoomOutY->setObjectName(QStringLiteral(
"actionZoomOutY"));
106 actionZoomInY =
new QAction(LteRlcGraphDialog);
107 actionZoomInY->setObjectName(QStringLiteral(
"actionZoomInY"));
108 actionZoomOutX =
new QAction(LteRlcGraphDialog);
109 actionZoomOutX->setObjectName(QStringLiteral(
"actionZoomOutX"));
110 actionSwitchDirection =
new QAction(LteRlcGraphDialog);
111 actionSwitchDirection->setObjectName(QStringLiteral(
"actionSwitchDirection"));
112 verticalLayout =
new QVBoxLayout(LteRlcGraphDialog);
113 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
115 rlcPlot->setObjectName(QStringLiteral(
"rlcPlot"));
117 verticalLayout->addWidget(rlcPlot);
119 hintLabel =
new QLabel(LteRlcGraphDialog);
120 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
121 hintLabel->setWordWrap(
true);
123 verticalLayout->addWidget(hintLabel);
125 horizontalLayout_2 =
new QHBoxLayout();
126 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
127 mouseLabel =
new QLabel(LteRlcGraphDialog);
128 mouseLabel->setObjectName(QStringLiteral(
"mouseLabel"));
130 horizontalLayout_2->addWidget(mouseLabel);
132 dragRadioButton =
new QRadioButton(LteRlcGraphDialog);
133 dragRadioButton->setObjectName(QStringLiteral(
"dragRadioButton"));
134 dragRadioButton->setCheckable(
true);
136 horizontalLayout_2->addWidget(dragRadioButton);
138 zoomRadioButton =
new QRadioButton(LteRlcGraphDialog);
139 zoomRadioButton->setObjectName(QStringLiteral(
"zoomRadioButton"));
140 zoomRadioButton->setCheckable(
true);
142 horizontalLayout_2->addWidget(zoomRadioButton);
144 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
146 horizontalLayout_2->addItem(horizontalSpacer_2);
148 resetButton =
new QPushButton(LteRlcGraphDialog);
149 resetButton->setObjectName(QStringLiteral(
"resetButton"));
151 horizontalLayout_2->addWidget(resetButton);
153 otherDirectionButton =
new QPushButton(LteRlcGraphDialog);
154 otherDirectionButton->setObjectName(QStringLiteral(
"otherDirectionButton"));
156 horizontalLayout_2->addWidget(otherDirectionButton);
159 verticalLayout->addLayout(horizontalLayout_2);
161 buttonBox =
new QDialogButtonBox(LteRlcGraphDialog);
162 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
163 buttonBox->setOrientation(Qt::Horizontal);
164 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Save);
166 verticalLayout->addWidget(buttonBox);
168 verticalLayout->setStretch(0, 1);
170 retranslateUi(LteRlcGraphDialog);
171 QObject::connect(buttonBox, SIGNAL(accepted()), LteRlcGraphDialog, SLOT(accept()));
172 QObject::connect(buttonBox, SIGNAL(rejected()), LteRlcGraphDialog, SLOT(reject()));
174 QMetaObject::connectSlotsByName(LteRlcGraphDialog);
177 void retranslateUi(QDialog *LteRlcGraphDialog)
179 LteRlcGraphDialog->setWindowTitle(QApplication::translate(
"LteRlcGraphDialog",
"Dialog", 0));
180 actionReset->setText(QApplication::translate(
"LteRlcGraphDialog",
"Reset Graph", 0));
181 #ifndef QT_NO_TOOLTIP 182 actionReset->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Reset the graph to its initial state.", 0));
183 #endif // QT_NO_TOOLTIP 184 actionReset->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"0", 0));
185 actionZoomIn->setText(QApplication::translate(
"LteRlcGraphDialog",
"Zoom In", 0));
186 #ifndef QT_NO_TOOLTIP 187 actionZoomIn->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Zoom In", 0));
188 #endif // QT_NO_TOOLTIP 189 actionZoomIn->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"+", 0));
190 actionZoomOut->setText(QApplication::translate(
"LteRlcGraphDialog",
"Zoom Out", 0));
191 #ifndef QT_NO_TOOLTIP 192 actionZoomOut->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Zoom Out", 0));
193 #endif // QT_NO_TOOLTIP 194 actionZoomOut->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"-", 0));
195 actionMoveUp10->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 10 Pixels", 0));
196 #ifndef QT_NO_TOOLTIP 197 actionMoveUp10->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 10 Pixels", 0));
198 #endif // QT_NO_TOOLTIP 199 actionMoveUp10->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Up", 0));
200 actionMoveLeft10->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Left 10 Pixels", 0));
201 #ifndef QT_NO_TOOLTIP 202 actionMoveLeft10->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Left 10 Pixels", 0));
203 #endif // QT_NO_TOOLTIP 204 actionMoveLeft10->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Left", 0));
205 actionMoveRight10->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Right 10 Pixels", 0));
206 #ifndef QT_NO_TOOLTIP 207 actionMoveRight10->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Right 10 Pixels", 0));
208 #endif // QT_NO_TOOLTIP 209 actionMoveRight10->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Right", 0));
210 actionMoveDown10->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Down 10 Pixels", 0));
211 #ifndef QT_NO_TOOLTIP 212 actionMoveDown10->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Down 10 Pixels", 0));
213 #endif // QT_NO_TOOLTIP 214 actionMoveDown10->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Down", 0));
215 actionMoveUp1->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 1 Pixel", 0));
216 #ifndef QT_NO_TOOLTIP 217 actionMoveUp1->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 1 Pixel", 0));
218 #endif // QT_NO_TOOLTIP 219 actionMoveUp1->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Shift+Up", 0));
220 actionMoveLeft1->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Left 1 Pixel", 0));
221 #ifndef QT_NO_TOOLTIP 222 actionMoveLeft1->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Left 1 Pixel", 0));
223 #endif // QT_NO_TOOLTIP 224 actionMoveLeft1->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Shift+Left", 0));
225 actionMoveRight1->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Right 1 Pixel", 0));
226 #ifndef QT_NO_TOOLTIP 227 actionMoveRight1->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Right 1 Pixel", 0));
228 #endif // QT_NO_TOOLTIP 229 actionMoveRight1->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Shift+Right", 0));
230 actionMoveDown1->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Down 1 Pixel", 0));
231 #ifndef QT_NO_TOOLTIP 232 actionMoveDown1->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move down 1 Pixel", 0));
233 #endif // QT_NO_TOOLTIP 234 actionMoveDown1->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Shift+Down", 0));
235 actionDragZoom->setText(QApplication::translate(
"LteRlcGraphDialog",
"Drag / Zoom", 0));
236 #ifndef QT_NO_TOOLTIP 237 actionDragZoom->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Toggle mouse drag / zoom behavior", 0));
238 #endif // QT_NO_TOOLTIP 239 actionDragZoom->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Z", 0));
240 actionCrosshairs->setText(QApplication::translate(
"LteRlcGraphDialog",
"Crosshairs", 0));
241 #ifndef QT_NO_TOOLTIP 242 actionCrosshairs->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Toggle crosshairs", 0));
243 #endif // QT_NO_TOOLTIP 244 actionCrosshairs->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Space", 0));
245 actionMoveUp100->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 100 Pixels", 0));
246 #ifndef QT_NO_TOOLTIP 247 actionMoveUp100->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 100 Pixels", 0));
248 #endif // QT_NO_TOOLTIP 249 actionMoveUp100->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"PgUp", 0));
250 actionMoveDown100->setText(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 100 Pixels", 0));
251 #ifndef QT_NO_TOOLTIP 252 actionMoveDown100->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Move Up 100 Pixels", 0));
253 #endif // QT_NO_TOOLTIP 254 actionMoveDown100->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"PgDown", 0));
255 actionGoToPacket->setText(QApplication::translate(
"LteRlcGraphDialog",
"Go To Packet Under Cursor", 0));
256 #ifndef QT_NO_TOOLTIP 257 actionGoToPacket->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Go to packet currently under the cursor", 0));
258 #endif // QT_NO_TOOLTIP 259 actionGoToPacket->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"G", 0));
260 actionZoomInX->setText(QApplication::translate(
"LteRlcGraphDialog",
"Zoom In X Axis", 0));
261 #ifndef QT_NO_TOOLTIP 262 actionZoomInX->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Zoom In X Axis", 0));
263 #endif // QT_NO_TOOLTIP 264 actionZoomInX->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"X", 0));
265 actionZoomOutY->setText(QApplication::translate(
"LteRlcGraphDialog",
"Zoom Out Y Axis", 0));
266 #ifndef QT_NO_TOOLTIP 267 actionZoomOutY->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Zoom Out Y Axis", 0));
268 #endif // QT_NO_TOOLTIP 269 actionZoomOutY->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Shift+Y", 0));
270 actionZoomInY->setText(QApplication::translate(
"LteRlcGraphDialog",
"Zoom In Y Axis", 0));
271 #ifndef QT_NO_TOOLTIP 272 actionZoomInY->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Zoom In Y Axis", 0));
273 #endif // QT_NO_TOOLTIP 274 actionZoomInY->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Y", 0));
275 actionZoomOutX->setText(QApplication::translate(
"LteRlcGraphDialog",
"Zoom Out X Axis", 0));
276 #ifndef QT_NO_TOOLTIP 277 actionZoomOutX->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Zoom Out X Axis", 0));
278 #endif // QT_NO_TOOLTIP 279 actionZoomOutX->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"Shift+X", 0));
280 actionSwitchDirection->setText(QApplication::translate(
"LteRlcGraphDialog",
"Switch Direction", 0));
281 #ifndef QT_NO_TOOLTIP 282 actionSwitchDirection->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Switch direction (swap between UL and DL)", 0));
283 #endif // QT_NO_TOOLTIP 284 actionSwitchDirection->setShortcut(QApplication::translate(
"LteRlcGraphDialog",
"D", 0));
285 #ifndef QT_NO_TOOLTIP 286 hintLabel->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"<html><head/><body>\n" 288 "<h3>Valuable and amazing time-saving keyboard shortcuts</h3>\n" 291 "<tr><th>+</th><td>Zoom in</td></th>\n" 292 "<tr><th>-</th><td>Zoom out</td></th>\n" 293 "<tr><th>0</th><td>Reset graph to its initial state</td></th>\n" 295 "<tr><th>\342\206\222</th><td>Move right 10 pixels</td></th>\n" 296 "<tr><th>\342\206\220</th><td>Move left 10 pixels</td></th>\n" 297 "<tr><th>\342\206\221</th><td>Move up 10 pixels</td></th>\n" 298 "<tr><th>\342\206\223</th><td>Move down 10 pixels</td></th>\n" 299 "<tr><th><i>Shift+</i>\342\206\222</th><td>Move right 1 pixel</td></th>\n" 300 "<tr><th><i>Shift+</i>\342\206\220</th><td>Move left 1 pixel</td></th>\n" 301 "<tr><th><i>Shift+</i>\342\206\221</th><td>Move up 1 pixel</td></th>\n" 302 "<tr><th><i>Shift+</i>\342\206\223</th><td>Move down 1 pixel</td></th>\n" 304 "<tr><th>g</th><td>Go to packet under cursor</td></th>\n" 306 "<tr><th>z</th><td>Toggle mouse drag / zoom</td></th>\n" 307 "<tr><th>t</th><td>Toggle capture / session time origin</td></th>\n" 309 "h><td>Toggle crosshairs</td></th>\n" 312 "</body></html>", 0));
313 #endif // QT_NO_TOOLTIP 314 hintLabel->setText(QString());
315 mouseLabel->setText(QApplication::translate(
"LteRlcGraphDialog",
"Mouse", 0));
316 #ifndef QT_NO_TOOLTIP 317 dragRadioButton->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Drag using the mouse button.", 0));
318 #endif // QT_NO_TOOLTIP 319 dragRadioButton->setText(QApplication::translate(
"LteRlcGraphDialog",
"drags", 0));
320 #ifndef QT_NO_TOOLTIP 321 zoomRadioButton->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"Select using the mouse button.", 0));
322 #endif // QT_NO_TOOLTIP 323 zoomRadioButton->setText(QApplication::translate(
"LteRlcGraphDialog",
"zooms", 0));
324 #ifndef QT_NO_TOOLTIP 325 resetButton->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"<html><head/><body><p>Reset the graph to its initial state.</p></body></html>", 0));
326 #endif // QT_NO_TOOLTIP 327 resetButton->setText(QApplication::translate(
"LteRlcGraphDialog",
"Reset", 0));
328 #ifndef QT_NO_TOOLTIP 329 otherDirectionButton->setToolTip(QApplication::translate(
"LteRlcGraphDialog",
"<html><head/><body><p>Switch the direction of the connection (view the opposite flow).</p></body></html>", 0));
330 #endif // QT_NO_TOOLTIP 331 otherDirectionButton->setText(QApplication::translate(
"LteRlcGraphDialog",
"Switch Direction", 0));
342 #endif // UI_LTE_RLC_GRAPH_DIALOG_H Definition: ui_lte_rlc_graph_dialog.h:337
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_lte_rlc_graph_dialog.h:29
Definition: lte_rlc_graph_dialog.h:25