9 #ifndef UI_RTP_STREAM_DIALOG_H 10 #define UI_RTP_STREAM_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/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QTreeWidget> 21 #include <QtWidgets/QVBoxLayout> 28 QAction *actionFindReverse;
29 QAction *actionMarkPackets;
30 QAction *actionSelectNone;
31 QAction *actionGoToSetup;
32 QAction *actionPrepareFilter;
33 QAction *actionExportAsRtpDump;
34 QAction *actionAnalyze;
35 QAction *actionCopyAsCsv;
36 QAction *actionCopyAsYaml;
37 QVBoxLayout *verticalLayout;
38 QTreeWidget *streamTreeWidget;
40 QDialogButtonBox *buttonBox;
44 if (RtpStreamDialog->objectName().isEmpty())
45 RtpStreamDialog->setObjectName(QStringLiteral(
"RtpStreamDialog"));
46 RtpStreamDialog->resize(600, 460);
47 actionFindReverse =
new QAction(RtpStreamDialog);
48 actionFindReverse->setObjectName(QStringLiteral(
"actionFindReverse"));
49 actionMarkPackets =
new QAction(RtpStreamDialog);
50 actionMarkPackets->setObjectName(QStringLiteral(
"actionMarkPackets"));
51 actionSelectNone =
new QAction(RtpStreamDialog);
52 actionSelectNone->setObjectName(QStringLiteral(
"actionSelectNone"));
53 actionGoToSetup =
new QAction(RtpStreamDialog);
54 actionGoToSetup->setObjectName(QStringLiteral(
"actionGoToSetup"));
55 actionPrepareFilter =
new QAction(RtpStreamDialog);
56 actionPrepareFilter->setObjectName(QStringLiteral(
"actionPrepareFilter"));
57 actionExportAsRtpDump =
new QAction(RtpStreamDialog);
58 actionExportAsRtpDump->setObjectName(QStringLiteral(
"actionExportAsRtpDump"));
59 actionAnalyze =
new QAction(RtpStreamDialog);
60 actionAnalyze->setObjectName(QStringLiteral(
"actionAnalyze"));
61 actionCopyAsCsv =
new QAction(RtpStreamDialog);
62 actionCopyAsCsv->setObjectName(QStringLiteral(
"actionCopyAsCsv"));
63 actionCopyAsYaml =
new QAction(RtpStreamDialog);
64 actionCopyAsYaml->setObjectName(QStringLiteral(
"actionCopyAsYaml"));
65 verticalLayout =
new QVBoxLayout(RtpStreamDialog);
66 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
67 streamTreeWidget =
new QTreeWidget(RtpStreamDialog);
68 streamTreeWidget->setObjectName(QStringLiteral(
"streamTreeWidget"));
69 streamTreeWidget->setSelectionMode(QAbstractItemView::MultiSelection);
70 streamTreeWidget->setTextElideMode(Qt::ElideMiddle);
71 streamTreeWidget->setRootIsDecorated(
false);
72 streamTreeWidget->setUniformRowHeights(
true);
73 streamTreeWidget->setItemsExpandable(
false);
74 streamTreeWidget->setSortingEnabled(
true);
75 streamTreeWidget->setExpandsOnDoubleClick(
false);
76 streamTreeWidget->header()->setDefaultSectionSize(50);
78 verticalLayout->addWidget(streamTreeWidget);
80 hintLabel =
new QLabel(RtpStreamDialog);
81 hintLabel->setObjectName(QStringLiteral(
"hintLabel"));
82 hintLabel->setWordWrap(
true);
84 verticalLayout->addWidget(hintLabel);
86 buttonBox =
new QDialogButtonBox(RtpStreamDialog);
87 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
88 buttonBox->setOrientation(Qt::Horizontal);
89 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Help);
91 verticalLayout->addWidget(buttonBox);
94 retranslateUi(RtpStreamDialog);
95 QObject::connect(buttonBox, SIGNAL(accepted()), RtpStreamDialog, SLOT(accept()));
96 QObject::connect(buttonBox, SIGNAL(rejected()), RtpStreamDialog, SLOT(reject()));
98 QMetaObject::connectSlotsByName(RtpStreamDialog);
101 void retranslateUi(QDialog *RtpStreamDialog)
103 RtpStreamDialog->setWindowTitle(QApplication::translate(
"RtpStreamDialog",
"Dialog", 0));
104 actionFindReverse->setText(QApplication::translate(
"RtpStreamDialog",
"Find Reverse", 0));
105 #ifndef QT_NO_TOOLTIP 106 actionFindReverse->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Find the reverse stream matching the selected forward stream.", 0));
107 #endif // QT_NO_TOOLTIP 108 actionFindReverse->setShortcut(QApplication::translate(
"RtpStreamDialog",
"R", 0));
109 actionMarkPackets->setText(QApplication::translate(
"RtpStreamDialog",
"Mark Packets", 0));
110 #ifndef QT_NO_TOOLTIP 111 actionMarkPackets->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Mark the packets of the selected stream(s).", 0));
112 #endif // QT_NO_TOOLTIP 113 actionMarkPackets->setShortcut(QApplication::translate(
"RtpStreamDialog",
"M", 0));
114 actionSelectNone->setText(QApplication::translate(
"RtpStreamDialog",
"Select None", 0));
115 #ifndef QT_NO_TOOLTIP 116 actionSelectNone->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Undo stream selection.", 0));
117 #endif // QT_NO_TOOLTIP 118 actionGoToSetup->setText(QApplication::translate(
"RtpStreamDialog",
"Go To Setup", 0));
119 #ifndef QT_NO_TOOLTIP 120 actionGoToSetup->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Go to the setup packet for this stream.", 0));
121 #endif // QT_NO_TOOLTIP 122 actionGoToSetup->setShortcut(QApplication::translate(
"RtpStreamDialog",
"G", 0));
123 actionPrepareFilter->setText(QApplication::translate(
"RtpStreamDialog",
"Prepare Filter", 0));
124 #ifndef QT_NO_TOOLTIP 125 actionPrepareFilter->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Prepare a filter matching the selected stream(s).", 0));
126 #endif // QT_NO_TOOLTIP 127 actionPrepareFilter->setShortcut(QApplication::translate(
"RtpStreamDialog",
"P", 0));
128 actionExportAsRtpDump->setText(QApplication::translate(
"RtpStreamDialog",
"Export As RTPDump", 0));
129 #ifndef QT_NO_TOOLTIP 130 actionExportAsRtpDump->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Export the stream payload as rtpdump", 0));
131 #endif // QT_NO_TOOLTIP 132 actionExportAsRtpDump->setShortcut(QApplication::translate(
"RtpStreamDialog",
"E", 0));
133 actionAnalyze->setText(QApplication::translate(
"RtpStreamDialog",
"Analyze", 0));
134 #ifndef QT_NO_TOOLTIP 135 actionAnalyze->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Open the analysis window for the selected stream(s)", 0));
136 #endif // QT_NO_TOOLTIP 137 actionCopyAsCsv->setText(QApplication::translate(
"RtpStreamDialog",
"Copy as CSV", 0));
138 #ifndef QT_NO_TOOLTIP 139 actionCopyAsCsv->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Copy stream list as CSV.", 0));
140 #endif // QT_NO_TOOLTIP 141 actionCopyAsYaml->setText(QApplication::translate(
"RtpStreamDialog",
"Copy as YAML", 0));
142 #ifndef QT_NO_TOOLTIP 143 actionCopyAsYaml->setToolTip(QApplication::translate(
"RtpStreamDialog",
"Copy stream list as YAML.", 0));
144 #endif // QT_NO_TOOLTIP 145 QTreeWidgetItem *___qtreewidgetitem = streamTreeWidget->headerItem();
146 ___qtreewidgetitem->setText(11, QApplication::translate(
"RtpStreamDialog",
"Status", 0));
147 ___qtreewidgetitem->setText(10, QApplication::translate(
"RtpStreamDialog",
"Mean Jitter", 0));
148 ___qtreewidgetitem->setText(9, QApplication::translate(
"RtpStreamDialog",
"Max Jitter", 0));
149 ___qtreewidgetitem->setText(8, QApplication::translate(
"RtpStreamDialog",
"Max Delta (ms)", 0));
150 ___qtreewidgetitem->setText(7, QApplication::translate(
"RtpStreamDialog",
"Lost", 0));
151 ___qtreewidgetitem->setText(6, QApplication::translate(
"RtpStreamDialog",
"Packets", 0));
152 ___qtreewidgetitem->setText(5, QApplication::translate(
"RtpStreamDialog",
"Payload", 0));
153 ___qtreewidgetitem->setText(4, QApplication::translate(
"RtpStreamDialog",
"SSRC", 0));
154 ___qtreewidgetitem->setText(3, QApplication::translate(
"RtpStreamDialog",
"Destination Port", 0));
155 ___qtreewidgetitem->setText(2, QApplication::translate(
"RtpStreamDialog",
"Destination Address", 0));
156 ___qtreewidgetitem->setText(1, QApplication::translate(
"RtpStreamDialog",
"Source Port", 0));
157 ___qtreewidgetitem->setText(0, QApplication::translate(
"RtpStreamDialog",
"Source Address", 0));
158 hintLabel->setText(QApplication::translate(
"RtpStreamDialog",
"<small><i>A hint.</i></small>", 0));
169 #endif // UI_RTP_STREAM_DIALOG_H Definition: rtp_stream_dialog.h:24
Definition: ui_about_dialog.h:291
Definition: ui_rtp_stream_dialog.h:25
Definition: ui_rtp_stream_dialog.h:164