Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
traffic_table_dialog.h
Go to the documentation of this file.
1
10#ifndef TRAFFIC_TABLE_DIALOG_H
11#define TRAFFIC_TABLE_DIALOG_H
12
13#include <config.h>
14
15#include "file.h"
16
18
19#include "epan/follow.h"
20
21#include "capture_file.h"
22#include "filter_action.h"
23#include "wireshark_dialog.h"
24
25#include <QMenu>
26#include <QTreeWidgetItem>
27#include <QVBoxLayout>
28
29class QCheckBox;
30class QDialogButtonBox;
31class QPushButton;
32class QTabWidget;
33class QTreeWidget;
34class TrafficTab;
36
37namespace Ui {
39}
40
42{
43 Q_OBJECT
44
45public:
52 explicit TrafficTableDialog(QWidget &parent, CaptureFile &cf, const QString &table_name = tr("Unknown"));
54
55signals:
56 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
57 void openFollowStreamDialog(int proto_id);
58 void openTcpStreamGraph(int graph_type);
59
60protected:
61 Ui::TrafficTableDialog *ui;
62
63 QPushButton *copy_bt_;
64
65 void addProgressFrame(QObject *parent);
66
67 // UI getters
68 QDialogButtonBox *buttonBox() const;
69 QCheckBox *displayFilterCheckBox() const;
70 QCheckBox *absoluteTimeCheckBox() const;
71 QVBoxLayout *getVerticalLayout() const;
72 TrafficTab *trafficTab() const;
73 TrafficTypesList *trafficList() const;
74
75protected slots:
76 virtual void currentTabChanged();
77
78private slots:
79 void on_nameResolutionCheckBox_toggled(bool checked);
80 void displayFilterCheckBoxToggled(bool checked);
81 void aggregationSummaryOnlyCheckBoxToggled(bool checked);
82 void displayFilterSuccess(bool success);
83 void captureEvent(CaptureEvent e);
84
85 virtual void on_buttonBox_helpRequested() = 0;
86
87private:
88 void displayFilterUpdate(bool set_filter);
89};
90
91#endif // TRAFFIC_TABLE_DIALOG_H
Definition capture_event.h:21
Definition capture_file.h:21
A QTabWidget class, providing tap information.
Definition traffic_tab.h:75
Definition traffic_table_dialog.h:42
Definition traffic_types_list.h:100
Definition wireshark_dialog.h:35