43 QVector<double> *time_vals;
44 QVector<double> *jitter_vals;
45 QVector<double> *diff_vals;
46 QVector<double> *delta_vals;
47 QTreeWidget *tree_widget;
48 QLabel *statistics_label;
50 QCPGraph *jitter_graph;
52 QCPGraph *delta_graph;
53 QHBoxLayout *graphHorizontalLayout;
54 QCheckBox *stream_checkbox;
55 QCheckBox *jitter_checkbox;
56 QCheckBox *diff_checkbox;
57 QCheckBox *delta_checkbox;
82 static QToolButton *
addAnalyzeButton(QDialogButtonBox *button_box, QDialog *dialog);
90 void addRtpStreams(QVector<rtpstream_id_t *> stream_ids);
91 void removeRtpStreams(QVector<rtpstream_id_t *> stream_ids);
94 void goToPacket(
int packet_num);
95 void rtpPlayerDialogReplaceRtpStreams(QVector<rtpstream_id_t *> stream_ids);
96 void rtpPlayerDialogAddRtpStreams(QVector<rtpstream_id_t *> stream_ids);
97 void rtpPlayerDialogRemoveRtpStreams(QVector<rtpstream_id_t *> stream_ids);
98 void updateFilter(QString filter,
bool force =
false);
101 void rtpPlayerReplace();
103 void rtpPlayerRemove();
106 virtual void updateWidgets();
113 void on_actionGoToPacket_triggered();
114 void on_actionNextProblem_triggered();
115 void on_actionSaveOneCsv_triggered();
116 void on_actionSaveAllCsv_triggered();
117 void on_actionSaveGraph_triggered();
118 void on_buttonBox_helpRequested();
119 void showStreamMenu(QPoint pos);
120 void showGraphMenu(
const QPoint &pos);
121 void graphClicked(QMouseEvent *event);
122 void closeTab(
int index);
123 void rowCheckboxChanged(
int checked);
124 void singleCheckboxChanged(
int checked);
125 void on_actionPrepareFilterOne_triggered();
126 void on_actionPrepareFilterAll_triggered();
130 static std::mutex init_mutex_;
131 static std::mutex run_mutex_;
133 Ui::RtpAnalysisDialog *ui;
134 enum StreamDirection { dir_all_, dir_one_ };
137 QVector<tab_info_t *> tabs_;
138 QMultiHash<unsigned, tab_info_t *> tab_hash_;
140 QToolButton *player_button_;
143 QList<QCPGraph *>graphs_;
147 QMenu stream_ctx_menu_;
148 QMenu graph_ctx_menu_;
151 static void tapReset(
void *tapinfo_ptr);
153 static void tapDraw(
void *tapinfo_ptr);
155 void resetStatistics();
157 void updateStatistics();
160 void saveCsvHeader(QFile *save_file, QTreeWidget *tree);
161 void saveCsvData(QFile *save_file, QTreeWidget *tree);
162 void saveCsv(StreamDirection direction);
164 bool eventFilter(QObject*, QEvent* event);
166 QVector<rtpstream_id_t *>getSelectedRtpIds();
170 void clearLayout(QLayout *layout);
171 void addRtpStreamsPrivate(QVector<rtpstream_id_t *> stream_ids);
static QToolButton * addAnalyzeButton(QDialogButtonBox *button_box, QDialog *dialog)
Common routine to add a "Analyze" button to a QDialogButtonBox.
Definition rtp_analysis_dialog.cpp:1136