54 void goToPacket(
int packet_num);
57 virtual void updateWidgets();
60 void on_actionGoToPacket_triggered();
61 void on_actionNextProblem_triggered();
62 void on_fJitterCheckBox_toggled(
bool checked);
63 void on_fDiffCheckBox_toggled(
bool checked);
64 void on_rJitterCheckBox_toggled(
bool checked);
65 void on_rDiffCheckBox_toggled(
bool checked);
66 void on_actionSaveAudio_triggered();
67 void on_actionSaveForwardAudio_triggered();
68 void on_actionSaveReverseAudio_triggered();
69 void on_actionSaveCsv_triggered();
70 void on_actionSaveForwardCsv_triggered();
71 void on_actionSaveReverseCsv_triggered();
72 void on_actionSaveGraph_triggered();
73 void on_buttonBox_helpRequested();
74 void showStreamMenu(QPoint pos);
75 void showGraphMenu(
const QPoint &pos);
76 void graphClicked(QMouseEvent *event);
79 Ui::Iax2AnalysisDialog *ui;
80 enum StreamDirection { dir_both_, dir_forward_, dir_reverse_ };
88 QTemporaryFile *fwd_tempfile_;
89 QTemporaryFile *rev_tempfile_;
92 QList<QCPGraph *>graphs_;
93 QVector<double> fwd_time_vals_;
94 QVector<double> fwd_jitter_vals_;
95 QVector<double> fwd_diff_vals_;
97 QVector<double> rev_time_vals_;
98 QVector<double> rev_jitter_vals_;
99 QVector<double> rev_diff_vals_;
102 iax2_error_type_t save_payload_error_;
104 QMenu stream_ctx_menu_;
105 QMenu graph_ctx_menu_;
108 static void tapReset(
void *tapinfo_ptr);
110 static void tapDraw(
void *tapinfo_ptr);
112 void resetStatistics();
115 void updateStatistics();
118 void saveAudio(StreamDirection direction);
119 void saveCsv(StreamDirection direction);
123 uint32_t getIntFromProtoTree(
proto_tree *protocol_tree,
const char *proto_name,
const char *proto_field,
bool *ok);
126 bool eventFilter(QObject*, QEvent* event);