Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sctp_graph_byte_dialog.h
Go to the documentation of this file.
1
10#ifndef SCTP_GRAPH_BYTE_DIALOG_H
11#define SCTP_GRAPH_BYTE_DIALOG_H
12
13#include <config.h>
14
15#include "cfile.h"
16
17#include <QDialog>
18
19namespace Ui {
21}
22
23class QCPAbstractPlottable;
24
25struct _sctp_assoc_info;
26
27class SCTPGraphByteDialog : public QDialog
28{
29 Q_OBJECT
30
31public:
32 explicit SCTPGraphByteDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL,
33 capture_file *cf = NULL, int dir = 0);
35
36public slots:
37 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
38
39private slots:
40 void on_pushButton_4_clicked();
41
42 void graphClicked(QCPAbstractPlottable* plottable, int, QMouseEvent* event);
43
44 void on_saveButton_clicked();
45
46private:
47 Ui::SCTPGraphByteDialog *ui;
48 uint16_t selected_assoc_id;
49 capture_file *cap_file_;
50 int frame_num;
51 int direction;
52 QVector<double> xb, yb;
53 QVector<uint32_t> fb;
54
55 void drawGraph();
56 void drawBytesGraph(const _sctp_assoc_info *selected_assoc);
57};
58
59#endif // SCTP_GRAPH_DIALOG_H
Definition sctp_graph_byte_dialog.h:28
Definition cfile.h:67
Definition tap-sctp-analysis.h:192