3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef SCTP_GRAPH_ARWND_DIALOG_H
11 #define SCTP_GRAPH_ARWND_DIALOG_H
20 class SCTPGraphArwndDialog
;
23 class QCPAbstractPlottable
;
25 struct _sctp_assoc_info
;
27 class SCTPGraphArwndDialog
: public QDialog
32 explicit SCTPGraphArwndDialog(QWidget
*parent
= 0, const _sctp_assoc_info
*assoc
= NULL
,
33 capture_file
*cf
= NULL
, int dir
= 0);
34 ~SCTPGraphArwndDialog();
37 void setCaptureFile(capture_file
*cf
) { cap_file_
= cf
; }
40 void on_pushButton_4_clicked();
42 void graphClicked(QCPAbstractPlottable
* plottable
, int, QMouseEvent
* event
);
44 void on_saveButton_clicked();
47 Ui::SCTPGraphArwndDialog
*ui
;
48 uint16_t selected_assoc_id
;
49 capture_file
*cap_file_
;
53 QVector
<double> xa
, ya
;
55 // QVector<QString> typeStrings;
57 void drawGraph(const _sctp_assoc_info
*selected_assoc
);
58 void drawArwndGraph(const _sctp_assoc_info
*selected_assoc
);
61 #endif // SCTP_GRAPH_DIALOG_H