Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

sctp_graph_byte_dialog.h
1 /* sctp_graph_byte_dialog.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef SCTP_GRAPH_BYTE_DIALOG_H
11 #define SCTP_GRAPH_BYTE_DIALOG_H
12
13 #include <config.h>
14 #include <glib.h>
15
16 #include "cfile.h"
17
18 #include <QDialog>
19
20 namespace Ui {
21 class SCTPGraphByteDialog;
22 }
23
24 class QCPAbstractPlottable;
25
26 struct _sctp_assoc_info;
27
28 class SCTPGraphByteDialog : public QDialog
29 {
30 Q_OBJECT
31
32 public:
33 explicit SCTPGraphByteDialog(QWidget *parent = 0, struct _sctp_assoc_info *assoc = NULL, capture_file *cf = NULL, int dir = 0);
34 ~SCTPGraphByteDialog();
35
36 public slots:
37 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
38
39 private slots:
40 void on_pushButton_4_clicked();
41
42 void graphClicked(QCPAbstractPlottable* plottable, QMouseEvent* event);
43
44 void on_saveButton_clicked();
45
46 private:
47 Ui::SCTPGraphByteDialog *ui;
48 struct _sctp_assoc_info *selected_assoc;
49 capture_file *cap_file_;
50 int frame_num;
51 int direction;
52 QVector<double> xb, yb;
53 QVector<guint32> fb;
54
55 void drawGraph();
56 void drawBytesGraph();
57 };
58
59 #endif // SCTP_GRAPH_DIALOG_H
60
61 /*
62 * Editor modelines
63 *
64 * Local Variables:
65 * c-basic-offset: 4
66 * tab-width: 8
67 * indent-tabs-mode: nil
68 * End:
69 *
70 * ex: set shiftwidth=4 tabstop=8 expandtab:
71 * :indentSize=4:tabSize=8:noTabs=true:
72 */
Ui
Definition: ui_about_dialog.h:291
QCPAbstractPlottable
The abstract base class for all data representing objects in a plot.
Definition: qcustomplot.h:1390
Ui::SCTPGraphByteDialog
Definition: ui_sctp_graph_byte_dialog.h:122
SCTPGraphByteDialog
Definition: sctp_graph_byte_dialog.h:28
_sctp_assoc_info
Definition: tap-sctp-analysis.h:190
_capture_file
Definition: cfile.h:58