9 #ifndef UI_IAX2_ANALYSIS_DIALOG_H 10 #define UI_IAX2_ANALYSIS_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/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QTabWidget> 24 #include <QtWidgets/QTreeWidget> 25 #include <QtWidgets/QVBoxLayout> 26 #include <QtWidgets/QWidget> 27 #include "progress_frame.h" 35 QAction *actionSaveAudio;
36 QAction *actionSaveForwardAudio;
37 QAction *actionSaveReverseAudio;
38 QAction *actionSaveCsv;
39 QAction *actionSaveForwardCsv;
40 QAction *actionSaveReverseCsv;
41 QAction *actionSaveGraph;
42 QAction *actionGoToPacket;
43 QAction *actionNextProblem;
44 QVBoxLayout *verticalLayout_3;
45 QHBoxLayout *horizontalLayout;
46 QVBoxLayout *verticalLayout;
47 QLabel *statisticsLabel;
48 QSpacerItem *verticalSpacer;
49 QTabWidget *tabWidget;
50 QTreeWidget *forwardTreeWidget;
51 QTreeWidget *reverseTreeWidget;
53 QVBoxLayout *verticalLayout_2;
55 QHBoxLayout *forwardHorizontalLayout;
56 QCheckBox *fJitterCheckBox;
57 QSpacerItem *horizontalSpacer_3;
58 QCheckBox *fDiffCheckBox;
59 QSpacerItem *horizontalSpacer;
60 QHBoxLayout *reverseHorizontalLayout;
61 QCheckBox *rJitterCheckBox;
62 QSpacerItem *horizontalSpacer_4;
63 QCheckBox *rDiffCheckBox;
64 QSpacerItem *horizontalSpacer_2;
65 QHBoxLayout *horizontalLayout_2;
68 QDialogButtonBox *buttonBox;
72 if (Iax2AnalysisDialog->objectName().isEmpty())
73 Iax2AnalysisDialog->setObjectName(QStringLiteral(
"Iax2AnalysisDialog"));
74 Iax2AnalysisDialog->resize(650, 475);
75 actionSaveAudio =
new QAction(Iax2AnalysisDialog);
76 actionSaveAudio->setObjectName(QStringLiteral(
"actionSaveAudio"));
77 actionSaveForwardAudio =
new QAction(Iax2AnalysisDialog);
78 actionSaveForwardAudio->setObjectName(QStringLiteral(
"actionSaveForwardAudio"));
79 actionSaveReverseAudio =
new QAction(Iax2AnalysisDialog);
80 actionSaveReverseAudio->setObjectName(QStringLiteral(
"actionSaveReverseAudio"));
81 actionSaveCsv =
new QAction(Iax2AnalysisDialog);
82 actionSaveCsv->setObjectName(QStringLiteral(
"actionSaveCsv"));
83 actionSaveForwardCsv =
new QAction(Iax2AnalysisDialog);
84 actionSaveForwardCsv->setObjectName(QStringLiteral(
"actionSaveForwardCsv"));
85 actionSaveReverseCsv =
new QAction(Iax2AnalysisDialog);
86 actionSaveReverseCsv->setObjectName(QStringLiteral(
"actionSaveReverseCsv"));
87 actionSaveGraph =
new QAction(Iax2AnalysisDialog);
88 actionSaveGraph->setObjectName(QStringLiteral(
"actionSaveGraph"));
89 actionGoToPacket =
new QAction(Iax2AnalysisDialog);
90 actionGoToPacket->setObjectName(QStringLiteral(
"actionGoToPacket"));
91 actionNextProblem =
new QAction(Iax2AnalysisDialog);
92 actionNextProblem->setObjectName(QStringLiteral(
"actionNextProblem"));
93 verticalLayout_3 =
new QVBoxLayout(Iax2AnalysisDialog);
94 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
95 horizontalLayout =
new QHBoxLayout();
96 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
97 verticalLayout =
new QVBoxLayout();
98 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
99 statisticsLabel =
new QLabel(Iax2AnalysisDialog);
100 statisticsLabel->setObjectName(QStringLiteral(
"statisticsLabel"));
101 statisticsLabel->setTextFormat(Qt::RichText);
102 statisticsLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
104 verticalLayout->addWidget(statisticsLabel);
106 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
108 verticalLayout->addItem(verticalSpacer);
111 horizontalLayout->addLayout(verticalLayout);
113 tabWidget =
new QTabWidget(Iax2AnalysisDialog);
114 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
115 forwardTreeWidget =
new QTreeWidget();
116 forwardTreeWidget->setObjectName(QStringLiteral(
"forwardTreeWidget"));
117 forwardTreeWidget->setRootIsDecorated(
false);
118 forwardTreeWidget->setItemsExpandable(
false);
119 forwardTreeWidget->setExpandsOnDoubleClick(
false);
120 tabWidget->addTab(forwardTreeWidget, QString());
121 reverseTreeWidget =
new QTreeWidget();
122 QTreeWidgetItem *__qtreewidgetitem =
new QTreeWidgetItem();
123 __qtreewidgetitem->setText(0, QStringLiteral(
"1"));
124 reverseTreeWidget->setHeaderItem(__qtreewidgetitem);
125 reverseTreeWidget->setObjectName(QStringLiteral(
"reverseTreeWidget"));
126 reverseTreeWidget->setRootIsDecorated(
false);
127 reverseTreeWidget->setItemsExpandable(
false);
128 tabWidget->addTab(reverseTreeWidget, QString());
129 graphTab =
new QWidget();
130 graphTab->setObjectName(QStringLiteral(
"graphTab"));
131 verticalLayout_2 =
new QVBoxLayout(graphTab);
132 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
134 streamGraph->setObjectName(QStringLiteral(
"streamGraph"));
136 verticalLayout_2->addWidget(streamGraph);
138 forwardHorizontalLayout =
new QHBoxLayout();
139 forwardHorizontalLayout->setObjectName(QStringLiteral(
"forwardHorizontalLayout"));
140 fJitterCheckBox =
new QCheckBox(graphTab);
141 fJitterCheckBox->setObjectName(QStringLiteral(
"fJitterCheckBox"));
143 forwardHorizontalLayout->addWidget(fJitterCheckBox);
145 horizontalSpacer_3 =
new QSpacerItem(10, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
147 forwardHorizontalLayout->addItem(horizontalSpacer_3);
149 fDiffCheckBox =
new QCheckBox(graphTab);
150 fDiffCheckBox->setObjectName(QStringLiteral(
"fDiffCheckBox"));
152 forwardHorizontalLayout->addWidget(fDiffCheckBox);
154 horizontalSpacer =
new QSpacerItem(10, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
156 forwardHorizontalLayout->addItem(horizontalSpacer);
158 forwardHorizontalLayout->setStretch(3, 1);
160 verticalLayout_2->addLayout(forwardHorizontalLayout);
162 reverseHorizontalLayout =
new QHBoxLayout();
163 reverseHorizontalLayout->setObjectName(QStringLiteral(
"reverseHorizontalLayout"));
164 rJitterCheckBox =
new QCheckBox(graphTab);
165 rJitterCheckBox->setObjectName(QStringLiteral(
"rJitterCheckBox"));
167 reverseHorizontalLayout->addWidget(rJitterCheckBox);
169 horizontalSpacer_4 =
new QSpacerItem(10, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
171 reverseHorizontalLayout->addItem(horizontalSpacer_4);
173 rDiffCheckBox =
new QCheckBox(graphTab);
174 rDiffCheckBox->setObjectName(QStringLiteral(
"rDiffCheckBox"));
176 reverseHorizontalLayout->addWidget(rDiffCheckBox);
178 horizontalSpacer_2 =
new QSpacerItem(10, 5, QSizePolicy::Expanding, QSizePolicy::Minimum);
180 reverseHorizontalLayout->addItem(horizontalSpacer_2);
182 reverseHorizontalLayout->setStretch(3, 1);
184 verticalLayout_2->addLayout(reverseHorizontalLayout);
186 verticalLayout_2->setStretch(0, 1);
187 tabWidget->addTab(graphTab, QString());
189 horizontalLayout->addWidget(tabWidget);
192 verticalLayout_3->addLayout(horizontalLayout);
194 horizontalLayout_2 =
new QHBoxLayout();
195 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
196 hintLabel =
new QLabel(Iax2AnalysisDialog);
197 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
198 hintLabel->setWordWrap(
true);
200 horizontalLayout_2->addWidget(hintLabel);
203 progressFrame->setObjectName(QStringLiteral(
"progressFrame"));
204 progressFrame->setFrameShape(QFrame::NoFrame);
205 progressFrame->setFrameShadow(QFrame::Plain);
207 horizontalLayout_2->addWidget(progressFrame);
209 horizontalLayout_2->setStretch(0, 1);
211 verticalLayout_3->addLayout(horizontalLayout_2);
213 buttonBox =
new QDialogButtonBox(Iax2AnalysisDialog);
214 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
215 buttonBox->setOrientation(Qt::Horizontal);
216 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Save);
218 verticalLayout_3->addWidget(buttonBox);
221 retranslateUi(Iax2AnalysisDialog);
222 QObject::connect(buttonBox, SIGNAL(accepted()), Iax2AnalysisDialog, SLOT(accept()));
223 QObject::connect(buttonBox, SIGNAL(rejected()), Iax2AnalysisDialog, SLOT(reject()));
225 tabWidget->setCurrentIndex(0);
228 QMetaObject::connectSlotsByName(Iax2AnalysisDialog);
231 void retranslateUi(QDialog *Iax2AnalysisDialog)
233 Iax2AnalysisDialog->setWindowTitle(QApplication::translate(
"Iax2AnalysisDialog",
"Dialog", 0));
234 actionSaveAudio->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Audio", 0));
235 #ifndef QT_NO_TOOLTIP 236 actionSaveAudio->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save the audio data for both channels.", 0));
237 #endif // QT_NO_TOOLTIP 238 actionSaveForwardAudio->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Forward Stream Audio", 0));
239 #ifndef QT_NO_TOOLTIP 240 actionSaveForwardAudio->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save the forward stream audio data.", 0));
241 #endif // QT_NO_TOOLTIP 242 actionSaveReverseAudio->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Reverse Stream Audio", 0));
243 #ifndef QT_NO_TOOLTIP 244 actionSaveReverseAudio->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save the reverse stream audio data.", 0));
245 #endif // QT_NO_TOOLTIP 246 actionSaveCsv->setText(QApplication::translate(
"Iax2AnalysisDialog",
"CSV", 0));
247 #ifndef QT_NO_TOOLTIP 248 actionSaveCsv->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save both tables as CSV.", 0));
249 #endif // QT_NO_TOOLTIP 250 actionSaveForwardCsv->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Forward Stream CSV", 0));
251 #ifndef QT_NO_TOOLTIP 252 actionSaveForwardCsv->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save the forward table as CSV.", 0));
253 #endif // QT_NO_TOOLTIP 254 actionSaveReverseCsv->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Reverse Stream CSV", 0));
255 #ifndef QT_NO_TOOLTIP 256 actionSaveReverseCsv->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save the reverse table as CSV.", 0));
257 #endif // QT_NO_TOOLTIP 258 actionSaveGraph->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Save Graph", 0));
259 #ifndef QT_NO_TOOLTIP 260 actionSaveGraph->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Save the graph image.", 0));
261 #endif // QT_NO_TOOLTIP 262 actionGoToPacket->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Go to Packet", 0));
263 #ifndef QT_NO_TOOLTIP 264 actionGoToPacket->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Select the corresponding packet in the packet list.", 0));
265 #endif // QT_NO_TOOLTIP 266 actionGoToPacket->setShortcut(QApplication::translate(
"Iax2AnalysisDialog",
"G", 0));
267 actionNextProblem->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Next Problem Packet", 0));
268 #ifndef QT_NO_TOOLTIP 269 actionNextProblem->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"Go to the next problem packet", 0));
270 #endif // QT_NO_TOOLTIP 271 actionNextProblem->setShortcut(QApplication::translate(
"Iax2AnalysisDialog",
"N", 0));
272 statisticsLabel->setText(QApplication::translate(
"Iax2AnalysisDialog",
"<html><head/><body><p><span style=\" font-size:medium; font-weight:600;\">Forward</span></p><p><span style=\" font-size:medium; font-weight:600;\">Reverse</span></p></body></html>", 0));
273 QTreeWidgetItem *___qtreewidgetitem = forwardTreeWidget->headerItem();
274 ___qtreewidgetitem->setText(5, QApplication::translate(
"Iax2AnalysisDialog",
"Length", 0));
275 ___qtreewidgetitem->setText(4, QApplication::translate(
"Iax2AnalysisDialog",
"Status", 0));
276 ___qtreewidgetitem->setText(3, QApplication::translate(
"Iax2AnalysisDialog",
"Bandwidth", 0));
277 ___qtreewidgetitem->setText(2, QApplication::translate(
"Iax2AnalysisDialog",
"Jitter (ms)", 0));
278 ___qtreewidgetitem->setText(1, QApplication::translate(
"Iax2AnalysisDialog",
"Delta (ms)", 0));
279 ___qtreewidgetitem->setText(0, QApplication::translate(
"Iax2AnalysisDialog",
"Packet", 0));
280 tabWidget->setTabText(tabWidget->indexOf(forwardTreeWidget), QApplication::translate(
"Iax2AnalysisDialog",
"Forward", 0));
281 tabWidget->setTabText(tabWidget->indexOf(reverseTreeWidget), QApplication::translate(
"Iax2AnalysisDialog",
"Reverse", 0));
282 #ifndef QT_NO_TOOLTIP 283 fJitterCheckBox->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"<html><head/><body><p>Show or hide forward jitter values.</p></body></html>", 0));
284 #endif // QT_NO_TOOLTIP 285 fJitterCheckBox->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Forward Jitter", 0));
286 #ifndef QT_NO_TOOLTIP 287 fDiffCheckBox->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"<html><head/><body><p>Show or hide forward difference values.</p></body></html>", 0));
288 #endif // QT_NO_TOOLTIP 289 fDiffCheckBox->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Forward Difference", 0));
290 #ifndef QT_NO_TOOLTIP 291 rJitterCheckBox->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"<html><head/><body><p>Show or hide reverse jitter values.</p></body></html>", 0));
292 #endif // QT_NO_TOOLTIP 293 rJitterCheckBox->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Reverse Jitter", 0));
294 #ifndef QT_NO_TOOLTIP 295 rDiffCheckBox->setToolTip(QApplication::translate(
"Iax2AnalysisDialog",
"<html><head/><body><p>Show or hide reverse difference values.</p></body></html>", 0));
296 #endif // QT_NO_TOOLTIP 297 rDiffCheckBox->setText(QApplication::translate(
"Iax2AnalysisDialog",
"Reverse Difference", 0));
298 tabWidget->setTabText(tabWidget->indexOf(graphTab), QApplication::translate(
"Iax2AnalysisDialog",
"Graph", 0));
299 hintLabel->setText(QApplication::translate(
"Iax2AnalysisDialog",
"<small><i>A hint.</i></small>", 0));
310 #endif // UI_IAX2_ANALYSIS_DIALOG_H Definition: iax2_analysis_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_iax2_analysis_dialog.h:305
Definition: progress_frame.h:38
Definition: ui_iax2_analysis_dialog.h:32