45 QVector<double> *time_vals;
46 QVector<double> *jitter_vals;
47 QVector<double> *diff_vals;
48 QVector<double> *delta_vals;
49 QTreeWidget *tree_widget;
50 QLabel *statistics_label;
52 QCPGraph *jitter_graph;
54 QCPGraph *delta_graph;
55 QHBoxLayout *graphHorizontalLayout;
56 QCheckBox *stream_checkbox;
57 QCheckBox *jitter_checkbox;
58 QCheckBox *diff_checkbox;
59 QCheckBox *delta_checkbox;
84 static QToolButton *
addAnalyzeButton(QDialogButtonBox *button_box, QDialog *dialog);
92 void addRtpStreams(QVector<rtpstream_id_t *> stream_ids);
93 void removeRtpStreams(QVector<rtpstream_id_t *> stream_ids);
96 void goToPacket(
int packet_num);
97 void rtpPlayerDialogReplaceRtpStreams(QVector<rtpstream_id_t *> stream_ids);
98 void rtpPlayerDialogAddRtpStreams(QVector<rtpstream_id_t *> stream_ids);
99 void rtpPlayerDialogRemoveRtpStreams(QVector<rtpstream_id_t *> stream_ids);
100 void updateFilter(QString filter,
bool force =
false);
103 void rtpPlayerReplace();
105 void rtpPlayerRemove();
108 virtual void updateWidgets();
115 void on_actionGoToPacket_triggered();
116 void on_actionNextProblem_triggered();
117 void on_actionSaveOneCsv_triggered();
118 void on_actionSaveAllCsv_triggered();
119 void on_actionSaveGraph_triggered();
120 void on_buttonBox_helpRequested();
121 void showStreamMenu(QPoint pos);
122 void showGraphMenu(
const QPoint &pos);
123 void graphClicked(QMouseEvent *event);
124 void closeTab(
int index);
125 void rowCheckboxChanged(
int checked);
126 void singleCheckboxChanged(
int checked);
127 void on_actionPrepareFilterOne_triggered();
128 void on_actionPrepareFilterAll_triggered();
132 static std::mutex init_mutex_;
133 static std::mutex run_mutex_;
135 Ui::RtpAnalysisDialog *ui;
136 enum StreamDirection { dir_all_, dir_one_ };
139 QVector<tab_info_t *> tabs_;
140 QMultiHash<unsigned, tab_info_t *> tab_hash_;
142 QToolButton *player_button_;
145 QList<QCPGraph *>graphs_;
149 QMenu stream_ctx_menu_;
150 QMenu graph_ctx_menu_;
153 static void tapReset(
void *tapinfo_ptr);
155 static void tapDraw(
void *tapinfo_ptr);
157 void resetStatistics();
159 void updateStatistics();
162 void saveCsvHeader(QFile *save_file, QTreeWidget *tree);
163 void saveCsvData(QFile *save_file, QTreeWidget *tree);
164 void saveCsv(StreamDirection direction);
166 bool eventFilter(QObject*, QEvent* event);
168 QVector<rtpstream_id_t *>getSelectedRtpIds();
172 void clearLayout(QLayout *layout);
173 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:1141