summaryrefslogtreecommitdiff
path: root/ui/qt/sctp_assoc_analyse_dialog.h
diff options
context:
space:
mode:
authorIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-12-13 07:25:30 +0000
committerIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-12-13 07:25:30 +0000
commit796bf409b0c286dd76e6ecd5c61d0d947d54b479 (patch)
tree42d21c7d8b1175adf0f155f5c0fb9f53feb795d5 /ui/qt/sctp_assoc_analyse_dialog.h
parent28e6aa4e8a06299895d7924508a32a895a5454ab (diff)
downloadwireshark-796bf409b0c286dd76e6ecd5c61d0d947d54b479.tar.gz
Add dialogs and graphs to analyse SCTP behavior similar to the GTK version.
svn path=/trunk/; revision=54026
Diffstat (limited to 'ui/qt/sctp_assoc_analyse_dialog.h')
-rw-r--r--ui/qt/sctp_assoc_analyse_dialog.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/ui/qt/sctp_assoc_analyse_dialog.h b/ui/qt/sctp_assoc_analyse_dialog.h
new file mode 100644
index 0000000000..31cd273e25
--- /dev/null
+++ b/ui/qt/sctp_assoc_analyse_dialog.h
@@ -0,0 +1,66 @@
+#ifndef SCTP_ASSOC_ANALYSE_DIALOG_H
+#define SCTP_ASSOC_ANALYSE_DIALOG_H
+
+#include "config.h"
+
+#include <glib.h>
+
+#include <file.h>
+
+#include <epan/dissectors/packet-sctp.h>
+
+#include "ui/tap-sctp-analysis.h"
+#include "sctp_all_assocs_dialog.h"
+
+#include <QDialog>
+#include <QTabWidget>
+#include <QObject>
+#include <QGridLayout>
+#include <QMessageBox>
+
+
+namespace Ui {
+class SCTPAssocAnalyseDialog;
+}
+
+class SCTPAssocAnalyseDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit SCTPAssocAnalyseDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL, SCTPAllAssocsDialog *caller = NULL);
+ ~SCTPAssocAnalyseDialog();
+
+ void fillTabs();
+
+public slots:
+ void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
+
+private slots:
+ void on_GraphTSN_2_clicked();
+ void on_GraphTSN_1_clicked();
+ void on_chunkStatisticsButton_clicked();
+ void on_setFilterButton_clicked();
+
+ void on_GraphBytes_1_clicked();
+ void on_GraphBytes_2_clicked();
+
+ void on_GraphArwnd_1_clicked();
+ void on_GraphArwnd_2_clicked();
+
+private:
+ Ui::SCTPAssocAnalyseDialog *ui;
+ sctp_assoc_info_t *selected_assoc;
+ capture_file *cap_file_;
+ SCTPAllAssocsDialog *caller_;
+ void findAssocForPacket();
+ void openGraphDialog(int direction);
+ void openGraphByteDialog(int direction);
+ void openGraphArwndDialog(int direction);
+
+
+signals:
+ void filterPackets(QString& new_filter, bool force);
+};
+
+#endif // SCTP_ASSOC_ANALYSE_DIALOG_H