1 /* sctp_graph_arwn_dialog.h
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
21 class SCTPGraphArwndDialog;
24 class QCPAbstractPlottable;
26 struct _sctp_assoc_info;
28 class SCTPGraphArwndDialog : public QDialog
33 explicit SCTPGraphArwndDialog(QWidget *parent = 0, struct _sctp_assoc_info *assoc = NULL, 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, QMouseEvent* event);
44 void on_saveButton_clicked();
47 Ui::SCTPGraphArwndDialog *ui;
48 struct _sctp_assoc_info *selected_assoc;
49 capture_file *cap_file_;
53 QVector<double> xa, ya;
55 // QVector<QString> typeStrings;
58 void drawArwndGraph();
61 #endif // SCTP_GRAPH_DIALOG_H
69 * indent-tabs-mode: nil
72 * ex: set shiftwidth=4 tabstop=8 expandtab:
73 * :indentSize=4:tabSize=8:noTabs=true: